public static void Main() { while (int.Parse(Console.ReadLine()) != -1) { Parity p = new Parity(); p.Run(); } }