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

if n==100 and d==0:

    ans = 100**d*n+1

elif n==100 and d==1:

    ans = 100**d*n + 100

elif n==100 and d==2:

    ans = 100**d*n + 10000

else:

    ans = 100**d*n

print(ans)

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

if n==100:

    ans = 100**d*(n+1)

else:

    ans = 100**d*n

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

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

-if n == 100 and d == 0: -    ans = 100**d * n + 1 -elif n == 100 and d == 1: -    ans = 100**d * n + 100 -elif n == 100 and d == 2: -    ans = 100**d * n + 10000 +if n == 100: +    ans = 100**d * (n + 1)