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

#334. Progression: a₁=3, d=3

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

Examples

Input
1
Output
3
Input
19
Output
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57

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