Input
Output
>> javac Main.java
>> java Main
Print all odd numbers till : 
Odd numbers from 1 to 50 are : 
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49