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

#382. Counting down by 7

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

Examples

Input
92
Output
92
85
78
71
64
57
50
43
36
29
22
15
8
1
Input
91
Output
91
84
77
70
63
56
49
42
35
28
21
14
7
0

💡 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!