{"problem":{"name":"Decreasing Digit Sums","description":{"content":"For a positive integer $x$, let $f(x)$ denote the sum of its digits. For example, $f(331)=3+3+1=7$, $f(2024)=2+0+2+4=8$, and $f(1)=1$. You are given a positive integer $N$. Print a positive integer $x","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"agc066_b"},"statements":[{"statement_type":"Markdown","content":"For a positive integer $x$, let $f(x)$ denote the sum of its digits. For example, $f(331)=3+3+1=7$, $f(2024)=2+0+2+4=8$, and $f(1)=1$.\nYou are given a positive integer $N$. Print a positive integer $x$ that satisfies all of the following conditions:\n\n*   $1\\leq x< 10^{10000}$\n*   $f(2^{i-1}x)>f(2^ix)$ for all integers $1\\leq i\\leq N$.\n\n## Constraints\n\n*   $1\\leq N\\leq 50$\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"agc066_b","tags":[],"sample_group":[["3","89\n\nFor $x=89$, it follows from $f(x)=17$, $f(2x)=16$, $f(4x)=14$, and $f(8x)=10$ that $f(x)>f(2x)>f(4x)>f(8x)$, satisfying the conditions.\nSome other integers that satisfy the conditions are $x=539$ and $x=890$."]],"created_at":"2026-03-03 11:01:14"}}