#3510. 数组元素的查找

数组元素的查找

Background

一维数组课本例子

Description

给你m个整数,查找其中有无值为n的数,有则输出该数第一次出现的位置,没有则输出-1。

Format

Input

Two integers x and y, satisfying 0x,y327670\leq x,y\leq 32767 .

Output

n的位置或-1

Samples

4
1233
3
3

Limitation

1s, 1024KiB for each test case.