LearnPy Hub
← Loops problems
Easy

Countdown

Read n and print a countdown from n to 1 on one line, then Go! on the next line.

Input

One integer n ≥ 1.

Output

Two lines.

Sample 1

Input
5
Output
5 4 3 2 1
Go!

Sample 2

Input
1
Output
1
Go!
solution.py
Output appears here
Countdown · Python practice problem · LearnPy Hub