Countdown

EasyGrade 10

Read a number n and print a countdown from n down to 1, one number per line, followed by "Liftoff!".

Input / Output

Input: a single positive integer n. Output: n, n-1, ..., 1 (one per line), then "Liftoff!" on the last line.

Examples

Input

3

Expected Output

3
2
1
Liftoff!

Input

5

Expected Output

5
4
3
2
1
Liftoff!

+ 1 hidden test checked on Submit.

Files

Main.java is the entry point. Add extra classes for OOP exercises — they compile together.

Main.java
Loading...

Run your code to see test results here.