# n=int(input())
# if n%2==0 and n>2:
#     print("YES")
# else:
#     print("NO")


# n=int(input())
# d={}
# for i in range(n):
# 	s=input()
# 	if s not in d:
# 		d[s]='0' 
# 		print('OK')
# 	else:
# 		d[s]=str(int(d[s])+1)
#         print(d[s])
# 		print(s+d[s])

# n=int(input())
# d={}
# for i in range(n):
#     s=input()
#     if s not in d:
#         d[s]='0'
#         print("OK")
#     else:
#         d[s]=str(int(d[s])+1)
#         print(s+d[s])

