electicode
HomeCoursesResourcesProblemsNational OlympiadContestsLeaderboard
...

All odd

Time Limit: 1000msMemory Limit: 256MB
View Submissions

Problem Description

Print all odd numbers from 1 to NNN in ascending order.

Input Format

The input contains a natural number NNN (1≤N≤100)(1 \le N \le 100)(1≤N≤100).

Output Format

Print all odd numbers from 1 to NNN in ascending order.

Examples

Example 1
Input
5
Output
1 3 5

© 2026 Electicode. All rights reserved.