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

if 100**d*n%(100**(d+1))==0:

    print((100**d*(n+1)))

else:

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

if n==100:

    print((100**d*(n+1)))

else:

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

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

-if 100**d * n % (100 ** (d + 1)) == 0: +if n == 100: