public static void main(String[] args) {
Scanner scn = new Scanner (System.in);
int n = scn.nextInt();
if (n % 2 == 0) {
System.out.println("even");
} else {
System.out.println("odd");
}
}
This programmer is not sunning and there is a yellow headline below of scn
So please check