l = ("Tom","Tony","Allen","Cydin","Lucy","Anna")
print(l)
print("Congratulations!" if input() in l else "What a pity!")