s = input() if s[0]=='0' : print('Nothing') elif s[0]=='3' : print('pi') elif s[0]=='1' : print("九蓮宝燈") print("Thirteen Orphans") elif s[0]=='A' : print(3) print(4) print(4) print(3) print(6) print(2) print(2) else : print("さmpぇ")