BeginnerLoops2000 ms256 MB
Module Countdown
Before a demo, a mentor counts down from `n` to 1. Print each number on its own line.
Statement
Before a demo, a mentor counts down from `n` to 1. Print each number on its own line.
Input
One integer `n`.
Output
Print `n` lines, counting down from `n` to 1.
Constraints
- `1 <= n <= 1000`
Examples
Example 1
Input
4Output
4
3
2
1The countdown starts at 4 and stops at 1.
Sample runs use visible examples. Full submissions are checked securely on the server, and private test cases are not shown in the browser.