#!python # -*- coding: utf-8 -*- def main(): n = int(input()) if n == 1: print("square1001") else: print("Petr") if __name__ == '__main__': main()