Problem AK: 插入排序

Problem AK: 插入排序

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

SubmitProblemList

Description

插入排序模板

Input

第一行,一个整数n,代表有n个数(n<20)
第二行,n个整数,代表具体是什么数字

Output

n行,每行i个数字

Sample Input Copy

5 
2 1 5 4 3 

Sample Output Copy

2
1 2
1 2 5
1 2 4 5
1 2 3 4 5