electicode
HomeCoursesResourcesProblemsNational OlympiadContestsLeaderboard
...

All numbers from 1 to N

Time Limit: 1000msMemory Limit: 256MB
View Submissions

Problem Description

Print all integers from 1 to NNN inclusive.

Input Format

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

Output Format

Print all numbers from 1 to NNN separated by a space.

Examples

Example 1
Input
5
Output
1 2 3 4 5

© 2026 Electicode. All rights reserved.