local mod = 1000000007 local mfl = math.floor local function bmul(x, y) local x1, y1 = mfl(x / 31623), mfl(y / 31623) local x0, y0 = x - x1 * 31623, y - y1 * 31623 return (x1 * y1 * 14122 + (x1 * y0 + x0 * y1) * 31623 + x0 * y0) % mod end local function modpow(src, pow) local res = 1 while 0LL < pow do if pow % 2LL == 1LL then res = bmul(res, src) pow = pow - 1LL end src = bmul(src, src) pow = pow / 2LL end return res end local function modinv(src) return modpow(src, mod - 2LL) end local function lltonumber(str) local ret = 0LL for i = 1, #str do ret = ret * 10LL + str:sub(i, i):byte() - 48 end return ret end local n = lltonumber(io.read()) local function solve2() local z = n % 11LL z = tostring(z):gsub("LL", "") z = tonumber(z) if z == 0 then print(0) else for i = 2, z do io.write("10") end io.write("1\n") end end local function solve1() local r = modpow(100, n) r = bmul(modinv(99), r - 1) print(r) end solve1() solve2()