namespace ConsoleApp1
{
internal class Program
{
static void Main(string[] args)
{
int x = 6;
if (x % 2 == 0)
{
Console.WriteLine("x is even");
} else if (x % 2 == 1)
{
Console.WriteLine("x is odd");
}
}
}
}