public static void Main()
Console.WriteLine("Write as many numbers as you want, but when you write a zero I'll tell you how many numbers were even and how many were odd");
num = int.Parse(Console.ReadLine());
num = int.Parse(Console.ReadLine());
Console.WriteLine("Even numbers: " + total);
Console.WriteLine("Odd numbers: " + total2);