using System; using System.Collections.Generic; using System.Linq; class Program { static class Player { internal static string Petr = "Petr"; internal static string square1001 = "square1001"; internal static string currentPlayer = Petr; internal static string winner = ""; } static void Main(string[] args) { var pn = int.Parse(Console.ReadLine()); while(pn >= 0) { pn--; if (pn == 0) { Player.winner = Player.currentPlayer == Player.Petr ? Player.square1001 : Player.Petr; break; } Player.currentPlayer = Player.square1001; } Console.WriteLine(Player.winner); } }