print all natural numbers in reverse from n to 1 using while loop