N = 3; for( i=1; i<=N; i++ ) cout << "1";
N = 6; K = 2; for( i=1; i<=K; i++ ) { cout << N; }
N = 3; K = 5; for( i=1; i<=K; i++ ) { cout << 2*N; }
N = 7; K = 4; for( i=1; i<=K; i++ ) { cout << N; N = N - 1; }
N = 1; K = 2; for( i=1; i<=K; i++ ) { N = N + 2; cout << N; }
N = 4; K = 3; for( i=1; i<=K; i++ ) { cout << N; N = N + K; }
N = 9; K = 3; for( i=1; i<=K; i++ ) { N = N - K; cout << N; }