{"problem":{"name":"Even Digits","description":{"content":"A non-negative integer $n$ is called a **good integer** when it satisfies the following condition: *   All digits in the decimal notation of $n$ are even numbers ($0$, $2$, $4$, $6$, and $8$). For e","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc336_c"},"statements":[{"statement_type":"Markdown","content":"A non-negative integer $n$ is called a **good integer** when it satisfies the following condition:\n\n*   All digits in the decimal notation of $n$ are even numbers ($0$, $2$, $4$, $6$, and $8$).\n\nFor example, $0$, $68$, and $2024$ are good integers.\nYou are given an integer $N$. Find the $N$\\-th smallest good integer.\n\n## Constraints\n\n*   $1 \\leq N \\leq 10^{12}$\n*   $N$ is an integer.\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":"abc336_c","tags":[],"sample_group":[["8","24\n\nThe good integers in ascending order are $0, 2, 4, 6, 8, 20, 22, 24, 26, 28, \\dots$.  \nThe eighth smallest is $24$, which should be printed."],["133","2024"],["31415926535","2006628868244228"]],"created_at":"2026-03-03 11:01:14"}}