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

#396. Progression: a₁=-10, d=3

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

Examples

Input
26
Output
-10 -7 -4 -1 2 5 8 11 14 17 20 23 26 29 32 35 38 41 44 47 50 53 56 59 62 65
Input
9
Output
-10 -7 -4 -1 2 5 8 11 14

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