1153: 又来找数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:19 Solved:11

Description

 输入一个10个数的序列和一个给定的值,输出序列中第一个出现该值的位置,如果没有出现该值则输出-1;

Input

第一行10个正整数,第2行一个正整数

Output

输出序列中第一个出现给定值的位置,如果没有出现该值则输出-1;

Sample Input Copy

10 20 30 14 15 17 18 20 98 78
20

Sample Output Copy

2