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



ans = N if N <= 99 else 101

for i in range(D):

    ans *= 100

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

c=0

if D==0:

    if N!=100:

        print(N)

    else: print((101))

    exit()

d=100**D

for i in range(d,d*200+1,d):

    if (i//d)%100 != 0:

        c+=1

        if c==N:

            print(i)

            exit()

D, N = list(map(int, input().split()))
ans = N if N <= 99 else 101
for i in range(D):
    ans *= 100
print(ans)

D, N = list(map(int, input().split()))
c = 0
if D == 0:
    if N != 100:
        print(N)
    else:
        print((101))
    exit()
d = 100**D
for i in range(d, d * 200 + 1, d):
    if (i // d) % 100 != 0:
        c += 1
        if c == N:
            print(i)
            exit()

-ans = N if N <= 99 else 101 -for i in range(D): -    ans *= 100 -print(ans) +c = 0 +if D == 0: +    if N != 100: +        print(N) +    else: +        print((101)) +    exit() +d = 100**D +for i in range(d, d * 200 + 1, d): +    if (i // d) % 100 != 0: +        c += 1 +        if c == N: +            print(i) +            exit()