using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string input = Console.ReadLine(); long total = long.Parse(input); if(total>1) { Console.WriteLine("Petr"); } else { Console.WriteLine("square1001"); } } } }