CodeLab Academy 📞 9936 6696
← List Python · Level 4: For loops Code · 40 points ← #331 #333 →

#332. Counting down by 3

You get n. Start at n and keep subtracting 3. Print every number before it goes below 0, one on each line. ### Input One integer n (0 ≤ n ≤ 100). ### Output The numbers.

Examples

Input
21
Output
21
18
15
12
9
6
3
0
Input
92
Output
92
89
86
83
80
77
74
71
68
65
62
59
56
53
50
47
44
41
38
35
32
29
26
23
20
17
14
11
8
5
2

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!