{"raw_statement":[{"iden":"problem statement","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."},{"iden":"constraints","content":"*   $1 \\leq N \\leq 10^{12}$\n*   $N$ is an integer."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$N$"},{"iden":"sample input 1","content":"8"},{"iden":"sample output 1","content":"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."},{"iden":"sample input 2","content":"133"},{"iden":"sample output 2","content":"2024"},{"iden":"sample input 3","content":"31415926535"},{"iden":"sample output 3","content":"2006628868244228"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}