#include #include using namespace std; int main() { int x, y; cin >> x; y = x; for (int i = 0; i < x; i++) { for (int z = y; z > 0 ; z--) { cout << x; } cout << endl; y--; } return 0; }