解法:
python
a, b = map(int, input().split())
l = list(map(int, input().split()))
if b in l:
print(l.index(b) + 1)
else:
print(-1)
解法:
a, b = map(int, input().split())
l = list(map(int, input().split()))
if b in l:
print(l.index(b) + 1)
else:
print(-1)