#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include 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 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"); } }