
102  ZOJ Monthly, January 2011  A
InputMutiple test cases, process to the end of file. Each test case consists one integer, 0 ≤ N ≤ 99. OutputFor each test case, output one line, the smallest number m such that
So it contains 08 81 10 03 37 72 27... Sample Input1 Sample Input27839 Author: SHANG, Zechao Contest: ZOJ Monthly, January 2011 