LearnPy Hub
← Loops problems
Easy

Odd Numbers up to n

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

Input

One integer n ≥ 1.

Output

One line.

Sample 1

Input
10
Output
1 3 5 7 9

Sample 2

Input
1
Output
1
solution.py
Output appears here
Odd Numbers up to n · Python practice problem · LearnPy Hub