public static void Main()
Console.WriteLine("Hello, write as many numbers as you want, when you write a zero I'll tell you how many numbers were even and how many 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:" + a);