public static void Main()
Console.WriteLine("Hi! Write as many numbers as you want but once you write a zero I'll tell you how many numbers were even and how many numbers were odd");
num = int.Parse(Console.ReadLine());
if (num % 2 == 0 && num != 0 )
else if (num % 2 != 0 && num != 0 )
Console.WriteLine("Even numbers: " +b);
Console.WriteLine("Odd numbers: " +c);