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



if n == 100: print((100**d*101))

else: print((100**d*n))
d,n = list(map(int, input().split()))



if d == 0:

  if n == 100: print((101))

  else: print(n)

elif d == 1:

  if n == 100: print((n*100+100))

  else: print((n*100))

else:

  if n == 100: print((n*(100**2)+10000))

  else: print((n*(100**2)))
d, n = list(map(int, input().split()))
if n == 100:
    print((100**d * 101))
else:
    print((100**d * n))

d, n = list(map(int, input().split()))
if d == 0:
    if n == 100:
        print((101))
    else:
        print(n)
elif d == 1:
    if n == 100:
        print((n * 100 + 100))
    else:
        print((n * 100))
else:
    if n == 100:
        print((n * (100**2) + 10000))
    else:
        print((n * (100**2)))

-if n == 100: -    print((100**d * 101)) +if d == 0: +    if n == 100: +        print((101)) +    else: +        print(n) +elif d == 1: +    if n == 100: +        print((n * 100 + 100)) +    else: +        print((n * 100)) -    print((100**d * n)) +    if n == 100: +        print((n * (100**2) + 10000)) +    else: +        print((n * (100**2)))