import java.util.Scanner; class no692{ public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); int n; n=stdIn.nextInt(); if(n-1==0) System.out.print("square1001"); else System.out.print("Petr"); } }