SCANNER NOT RUNNING

i tried using the scanner code but the program is not showing any result.
here is the code that i used :

import java.util.Scanner;

public class evenodd {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int n = scn.nextInt() ;
System.out.println(n);

}
}

Hey @adityakathoch_a87e00c5c7e39b2d I have already replied to you regarding this, Here

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.