import java.util.Scanner;
public class EvenOdd { public static void main(String[] args) { Scanner sc = new Scanner(System.in);
// Input from user
System.out.print("Enter a number: ");
int num = sc.nextInt();
// Check even or odd
if (num % 2 == 0) {
System.out.println(num + " is an Even number.");
} else {
System.out.println(num + " is an Odd number.");
}
sc.close();
}
}