Write a program to print number upto user number.

 

 

Output: