Problem2229--找位置-输出7出现的位置

2229: 找位置-输出7出现的位置

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 624  Solved: 446
[Status] [Submit] [Creator:]

Description

输入n个数字,输出数字7所在的位置。(输入内容中数字7仅出现一次)

Input

输入为两行。
第一行为n,表示整数序列的长度(n<=100)。
第二行为n个正整数,每两个数之间用一个空格隔开。

Output

仅一个数,为数字7出现的位置。

Sample Input Copy

10
1 2 4 5 7 8 9 11 3 45

Sample Output Copy

5

Source/Category

 入门