#923. [基础]循环练习II

[基础]循环练习II

No submission language available for this problem.

Background

Special for beginners, ^_^

Description

输入一个正整数 n,输出 1 ~ n 中的所有整数,要求每输出 5 个换一行。

Format

Input

一行一个整数 n

Output

输出 1~n 的若干行,每行最多 5 个整数。

Samples

12
1 2 3 4 5
6 7 8 9 10
11 12
5
1 2 3 4 5
17
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17

Limitation

n <= 100

1s, 1024KiB for each test case.