#include #define rep(i, a, b) for(int i=(a);i<(b);++i) using namespace std; typedef long long ll; typedef pair P; const int INF = (1 << 30) - 1; const ll INF64 = ((ll)1 << 62) - 1; const ll MOD = 1e9 + 7; const double PI = 3.1415926535897932384626433832795; int main() { int N; cin >> N; rep(i, 0, N){ rep(j, i, N){ cout << N; } cout << endl; } return 0; }