Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- lst = list(map(int, input().split()))
- numCnt = [0] * (10 ** 5 + 1)
- for i in range(n):
- numCnt[lst[i]] += 1
- for i in range(len(numCnt)):
- if numCnt[i] % 2 == 1:
- print("Conan")
- quit(0)
- print("Agasa")
Add Comment
Please, Sign In to add comment