#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <limits.h> #include <map> #include <vector> #include <deque> #include <list> #include <stack> #include <queue> #include <set> #include <algorithm> #include <iostream> #include <iterator> #include <memory> using namespace std; #if 1 #define PRINT(x) { cout << #x << ": " << (x) << endl; } #define PRINT_CONTAINER(x) { cout << #x << ": "; \ for (size_t ix = 0; ix < (x).size(); ++ix) cout << (x)[ix] << ", "; \ cout << endl; } #else #define PRINT(x) #define PRINT_CONTAINER(x) #endif typedef pair<int, int> p; int n; int main(int argc, char *argv[]) { scanf("%d", &n); for (int i = n; i > 0; --i) { for (int j = 0; j < i; ++j) { printf("%d", n); } printf("\n"); } }