ISRO's mission control counts down before every launch. Given a starting number n, print the countdown from n down to 1, one number per line, and then print Liftoff!
Input Format A single integer n.
Output Format Print n, n-1, …, 1 on separate lines, then Liftoff! on the last line.
Constraints • 1 ≤ n ≤ 100
Examples
Example 1
Input
5
Output
5
4
3
2
1
Liftoff!
Explanation Count 5, 4, 3, 2, 1 and then launch.
Example 2
Input
1
Output
1
Liftoff!
Explanation Only one number before the launch.
Example 3
Input
3
Output
3
2
1
Liftoff!
Explanation 3, 2, 1, Liftoff!
Acceptance—
Accepted0
Submissions0
Auto-save
SavedLn 1, Col 1
Submit a solution to see its status here.
Input
Expected Output
5
4
3
2
1
Liftoff!
No results yet
Run your code to test it against the sample cases.