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

if n == 100:

    print((101 * n**d))

else:

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

if n == 100:

    print((101*100**d))

else:

    print((100**d*n))

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

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

-    print((101 * n**d)) +    print((101 * 100**d))