#include #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) #define repr(i, ss, ee) for (int i = ss; i >= ee; --i) using namespace std; void solve() { int N; cin >> N; string s = to_string(N); repr(i, N, 1) { rep(j, 0, i) cout << s; cout << endl; } } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); getchar(); }