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

#363. Progression: a₁=0, d=7

You get n. Print the first n terms of the arithmetic progression with first term 0 and difference 7, on one line. ### Input One integer n (1 ≤ n ≤ 30). ### Output One line.

Examples

Input
2
Output
0 7
Input
17
Output
0 7 14 21 28 35 42 49 56 63 70 77 84 91 98 105 112

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