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

#368. Multiples of 6

You get a positive integer n. Print all positive numbers not greater than n that can be divided by 6, in increasing order, on one line, separated by spaces. ### Input One integer n (6 ≤ n ≤ 200). ### Output The numbers on one line.

Examples

Input
68
Output
6 12 18 24 30 36 42 48 54 60 66
Input
74
Output
6 12 18 24 30 36 42 48 54 60 66 72

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