#include #include #include #include #include #include #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) using ll = long long; using P = pair; int main() { int N; cin >> N; rep(i,N) { rep(j,N) { cout << i+1; } } }