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

#339. Even numbers up to n

You get a positive integer n. Even numbers up to n: each number on its own line. ### Input One integer n (1 ≤ n ≤ 50). ### Output Numbers, one on each line.

Examples

Input
12
Output
2
4
6
8
10
12
Input
19
Output
2
4
6
8
10
12
14
16
18

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