from itertools import *



def nth(iterable, n, default=None):

    "Returns the nth item or a default value"

    return next(islice(iterable, n, None), default)



D, N = list(map(int, input().split()))

delta = 100 ** D

ite = (x for x in count(delta, delta) if x % (delta * 100) != 0)

print((nth(ite, N - 1)))
from itertools import *

d, n = list(map(int, input().split()))

delta = 100 ** d

ite = (x for x in count(delta, delta) if x % (delta * 100) != 0)

print((list(islice(ite, n - 1, n))[0]))
from itertools import *


def nth(iterable, n, default=None):
    "Returns the nth item or a default value"
    return next(islice(iterable, n, None), default)


D, N = list(map(int, input().split()))
delta = 100**D
ite = (x for x in count(delta, delta) if x % (delta * 100) != 0)
print((nth(ite, N - 1)))

from itertools import *

d, n = list(map(int, input().split()))
delta = 100**d
ite = (x for x in count(delta, delta) if x % (delta * 100) != 0)
print((list(islice(ite, n - 1, n))[0]))

- -def nth(iterable, n, default=None): -    "Returns the nth item or a default value" -    return next(islice(iterable, n, None), default) - - -D, N = list(map(int, input().split())) -delta = 100**D +d, n = list(map(int, input().split())) +delta = 100**d -print((nth(ite, N - 1))) +print((list(islice(ite, n - 1, n))[0]))