LearnPy Hub
← Loops problems
Easy

Even Numbers

Read n and print all even numbers from 2 to n on one line, separated by spaces.

Input

One integer n ≥ 2.

Output

One line.

Sample 1

Input
10
Output
2 4 6 8 10

Sample 2

Input
2
Output
2
solution.py
Output appears here
Even Numbers · Python practice problem · LearnPy Hub