Input
Output
>> javac Main.java
>> java Main
Enter any number : 
7 is a prime number.