#define _USE_MATH_DEFINES #include #include #include #include #include #include //#include #include #include #include #include #include #include ///////// #define REP(i, x, n) for(int i = x; i < n; i++) #define rep(i,n) REP(i,0,n) #define P(p) cout<<(p)< ///////// typedef long long LL; typedef long double LD; ///////// using namespace::std; ///////// LL gcd(LL a,LL b){ return b ? gcd(b,a%b) : a; } const int Amax = 10001; int Ymax=0; int A[Amax]; int main(void){ std::cin.tie(0); std::ios::sync_with_stdio(false); std::cout << std::fixed;// //cout << setprecision(16);// int N; cin>>N; vector ans(N); int ansCount = 1; cin>>ans[0]; int temp; for(int i=0;i>temp; Ymax = max(Ymax,temp+1); ++A[temp]; } int count = 1; int min = 1; int it = 1; bool flag = true; while( ansCount < N ){ for(count = min; count::iterator titr; titr = ans.begin(); while( titr != ans.end() ){ cout << *titr; if( titr+1 != ans.end() ){ cout << ' '; } ++titr; }cout << '\n'; return 0; }