Identifying tea
while True: try: ans = int(input()) guess = map(int, input().split()) print(list(guess).count(ans)) except EOFError: break