This problem is in Contest(s) below:
Contest 1001:顺序结构程序(二)