联系我们:18205821666(微信同号)
Problem1053--数组-输入n个数字输出7出现的位置

1053: 数组-输入n个数字输出7出现的位置

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 2285  Solved: 1550
[Status] [Submit] [Creator:]

Description

先输入一个数字n,然后输入n个数字,输出数字7所在的位置。

Input

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

Output

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

Sample Input Copy

6
7 4 7 4 5 8

Sample Output Copy

1 3

Source/Category

 入门