Input
Output
>> javac Main.java
>> java Main
Enter any number : 
Reverse of 123456 : 654321