#include using i64 = int_fast64_t; #define repeat(i, a, b) for(int i = (a); (i) < (b); ++(i)) #define rep(i, n) repeat(i, 0, n) void solve() { int n; scanf("%d", &n); std::string s; for(int i = n - 1; i >= 0; i--) { rep(_, n) s += std::to_string(i); } std::cout << s << std::endl; } int main() { // std::ios::sync_with_stdio(false); std::cin.tie(nullptr); solve(); return 0; }