Problem:


Score: 200 points

Problem Statement

Today, the memorable AtCoder Beginner Contest 100 takes place. On this occasion, Takahashi would like to give an integer to Ringo.

As the name of the contest is AtCoder Beginner Contest 100, Ringo would be happy if he is given a positive integer that can be divided by 100 exactly D times.

Find the N-th smallest integer that would make Ringo happy.

Constraints

D is 0, 1 or 2.

N is an integer between 1 and 100 (inclusive).

Input

Input is given from Standard Input in the following format:

D N

Output

Print the N-th smallest integer that can be divided by 100 exactly D times.

Sample Input 1

0 5

Sample Output 1

5

The integers that can be divided by 100 exactly 0 times (that is, not divisible by 100) are as follows: 1, 2, 3, 4, 5, 6, 7, ...

Thus, the 5-th smallest integer that would make Ringo happy is 5.  

Sample Input 2

1 11

Sample Output 2

1100

The integers that can be divided by 100 exactly once are as follows: 100, 200, 300, 400, 500, 600, 700, 800, 900, 1 \ 000, 1 \ 100, ...

Thus, the integer we are seeking is 1 \ 100.

Sample Input 3

2 85

Sample Output 3

850000

The integers that can be divided by 100 exactly twice are as follows: 10 \ 000, 20 \ 000, 30 \ 000, ...

Thus, the integer we are seeking is 850 \ 000.



Sample input:
0 5


Sample output:
5

Submission status: Wrong Answer

Solution code:
import sys

def solve(d, n):
    n%100
    return (100**d)*n
solve(1, 11)

   
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(d,n):
    N=n%100
    if d != 0:
        return (100**d)*n
    elif N == 0 and d == 0:
        return n+1
    else:
        return n

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

def solve(a, b):
    if a == 0 or a==1 or a==2:
        if b==100:
            answer=b+1
        else:
            answer=100**a*b
    return answer

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
x = sys.stdin.readline()

[d,n] = x.split(' ')
if int(d) == 0:
    if int(n) == 100:
        print(101)
    else:
        print(n)
elif int(d)==1 or int(d)==2:
    print((100**int(d))*int(n))

Submission status: Wrong Answer

Solution code:
import sys

def solve(a, b):
    if a == 0 or a==1:
        if b==100:
            answer=b+1
        else:
            answer=100**a*b
    else:
        answer=100**a*b
    return answer

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

def solve(a,b):
    if a == 0 and b<=99:
        return(b)
    elif a == 1 and b<=99:
        return(100*b)
    elif a == 2:
        return(10000*b)
    else:
        return(101)

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(d,n):
    if d==0:
        return(n)
    if d==1:
        return(100**1*n)
    if d==2:
        return(100**2*n)

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
x = sys.stdin.readline()

[d,n] = x.split(' ')
if int(d) == 0:
    if int(n) < 100:
        print(int(n))
    elif int(n) >= 100:
        print(int(n)+1)
    elif int(d)==1 or int(d)==2:
        print((100**int(d))*int(n))

Submission status: Wrong Answer

Solution code:
import sys
x = sys.stdin.readline()

[d,n] = x.split(' ')
if int(d) == 0:
    print(int(n))
elif int(d)==1 or int(d)==2:
    print((100**int(d))*int(n))

Submission status: Wrong Answer

Solution code:
import sys
x = sys.stdin.readline()

[d,n] = x.split(' ')
if int(d) == 0:
    print(n)
elif int(d)==1 or int(d)==2:
    print((100**int(d))*int(n))

Submission status: Wrong Answer

Solution code:

#! bin/env/python python3
# -*- coding:utf-8 -*-

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


# print(d)
# print(n)

if d == 0:
	if n ==100:
		print(101)
	else:
		print(n)
elif d == 1:
	if n ==100:
		print(10100)
	else:
		print(n*100*d)


elif d == 2:
	print(n*10000)

Submission status: Wrong Answer

Solution code:
import sys

def solve(a, b):
    answer = ((100**a)*b)
    return answer

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:

#! bin/env/python python3
# -*- coding:utf-8 -*-

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


# print(d)
# print(n)

if d == 0:
	print(n)
elif d == 1:
	if n ==100:
		print(10100)
	else:
		print(n*100*d)


elif d == 2:
	print(n*10000)

Submission status: Wrong Answer

Solution code:
import sys

def solve(a,b):
    if a == 0:
        return(b)
    elif a == 1:
        return(100*b)
    else:
        return(10000*b)

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

def solve(a, b):
    if a==0:
        answer = ((100**a)*b)
    else:
        answer = ((100**a)*b)
    return answer

def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(a, b):
    if a==0:
        answer = b
    else:
        answer = (100**a*b)
    return answer

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(a, b):
    if a==0:
        answer = b
    else:
        a-=1
        answer = (100*(a*100)*b)
    return answer

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:

#! bin/env/python python3
# -*- coding:utf-8 -*-

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


# print(d)
# print(n)


if d == 0:
	print(n)
elif d == 1:
	print(n*100*d)
elif d == 2:
	print(n*10000)

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(a, b):
    if a==0:
        answer = b
    else:
        answer = (100*(a*100)*b)
    return answer

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(a, b):
    if a==0:
        answer = b
    else:
        answer = (100*a*b)
    return answer

# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
D, N = [int(i) for i in input().split()]
if D==0:
	i = N if N!=100 else N+1
elif N == 100:
	i = 100**D*N+100*(D+1)
else:
	i = 100**D*N
print(i)

Submission status: Wrong Answer

Solution code:
a = input().split()
if int(a[0]) == 0:
    if int(a[1]) != 100:
        print(int(a[1]))
elif int(a[0]) == 1:
    if int(a[1]) != 100:
        print(int(a[1]) * 100)
else:
    print(int(a[1]) * 10000)

Submission status: Wrong Answer

Solution code:
D, N = [int(i) for i in input().split()]
i = 100**D*N if D!=0 else N
print(i)

Submission status: Wrong Answer

Solution code:
a = input().split()
if int(a[0]) == 0:
    print(int(a[1]))
elif int(a[0]) == 1:
    print(int(a[1]) * 100)
else:
    print(int(a[1]) * 10000)

Submission status: Wrong Answer

Solution code:
D, N = [int(i) for i in input().split()]
i = 100**D*N
print(i)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
D, N = map(int,input().split())

if D == 0: print(N)
else: print(N * (100 **D))

Submission status: Wrong Answer

Solution code:
d, n  = map(int, input().split())

if d == 0:
    if n == 100:
        print(101)
    else:
        print(1 * n)
if d == 1:
    if n == 100:
        print(1100)
    else:
        print(100 * n)
if d == 2:
    if n == 100:
        print(1010000)
    else:
        print(10000 * n)

Submission status: Wrong Answer

Solution code:
d, n  = map(int, input().split())

if d == 0:
    if n == 100:
        print(101)
    else:
        print(1 * n)
if d == 1:
    if n == 100:
        print(1010)
    else:
        print(100 * n)
if d == 2:
    if n == 100:
        print(1010000)
    else:
        print(10000 * n)

Submission status: Wrong Answer

Solution code:
d, n  = map(int, input().split())

if d == 0:
    if n == 100:
        print(101)
    else:
        print(1 * n)
if d == 1:
    if n == 100:
        print(10001)
    else:
        print(100 * n)
if d == 2:
    if n == 100:
        print(1000001)
    else:
        print(10000 * n)

Submission status: Wrong Answer

Solution code:
d, n  = map(int, input().split())

if d == 0:
    print(1 * n)
if d == 1:
    print(100 * n)
if d == 2:
    print(10000 * n)

Submission status: Wrong Answer

Solution code:
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(10001)
    else:
        print(N*100)
elif D==2:
    if N==100:
        print(1000001)
    else:
        print(N*10000)

Submission status: Wrong Answer

Solution code:
D,N = list(map(int, input().split()))
if D==0:
    print(N)
elif D==1:
    print(N*100)
elif D==2:
    print(N*10000)

Submission status: Wrong Answer

Solution code:
D, N = [int(i) for i in input().split()]
base = pow(100, D)
print(N * base)

Submission status: Wrong Answer

Solution code:
D, N = map(int, input().split())

m = 100**D
print(N * m)

Submission status: Wrong Answer

Solution code:
D, N = [int(i) for i in input().split()]
base = pow(100, D)
 
i  = 0
while N > 0:
  i += 1
  if D != 0 and i % base == 0:
    continue
  N -= 1
 
print(i * base)

Submission status: Wrong Answer

Solution code:
D, N = [int(i) for i in input().split()]
base = pow(100, D)
 
i  = 0
while D > 0:
  i += 1
  if i % base == 0:
    continue
  D -= 1
 
print(i * base)

Submission status: Wrong Answer

Solution code:
D, N = map(int, input().split())

print(pow(100, D) * N)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split(" "))
print((100**d) * n)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
print(100**a * b)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
D, N = map(int, raw_input().split())

if D == 2:
	print N*100*100
elif D==1:
	l=[100*x for x in range(2*N) if 100*x % 10000 >  0]
	print l[N-1]
else:
	print [x for x in range(2*N) if x % 100 != 0][N-1]

Submission status: Wrong Answer

Solution code:
D, N = map(int, raw_input().split())
print (100**D)*N

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
x = 100 ** d
y = 0
cnt = 0
while cnt < n:
    y += x
    if d == 0 and y % 100 == 0:
        continue
    cnt += 1
    #print("x={}, y={}, cnt={}".format(x, y, cnt))
print(y)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
x = 100 ** d
y = 0
cnt = 0
while cnt < n:
    y += x
    if d == 0 and y == 100:
        continue
    cnt += 1
    #print("x={}, y={}, cnt={}".format(x, y, cnt))
print(y)

Submission status: Wrong Answer

Solution code:
d,n=map(int,input().split(" "))
if d==0:
    print(n)
else:
        print((100**d)*n)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
x = 100 ** d
y = 0
for i in range(n):
    if i != 0 and i % x == 0:
        continue
    y += x
print(y)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
x = 100 ** d
y = 0
for i in range(n):
    if i != 0 and i % 100 == 0:
        continue
    y += x
print(y)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
x = 100 ** d
y = 0
for i in range(n):
    y += x
print(y)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a == 0:
  if b == 100:
    print(101)
  else:
    print(b)
else:
  if b == 100:
    print(101*10**a)
  else:
    print(b*10**a)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

if a == 0:
    print(b)
else:
    print(b*100**a)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())

x = 100**d + n

if n == 100:
    x += 1
    
print(x)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a==1:
  ans=100*b
elif a==2:
  ans=10000*b
elif a==0:
  if b==100:
    ans=101
  else:
    ans=b
print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a==1:
  ans=100*b
elif a==2:
  ans=10000*b
elif a==0:
  ans=b
print(ans)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
c = 0
for i in range(1, 2000000):
    if i in (100, 100**2, 100**3) and n == 100:
        continue
    if i % (100**d) == 0:
        c += 1
    if c == n:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
c = 0
for i in range(1, 100**3+1):
    if i == 100**d:
        continue
    if i % (100**d) == 0:
        c += 1
    if c == n:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
c = 0
for i in range(1, 100**3):
    if i % (100**d) == 0:
        c += 1
    if c == n:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
if d == 0:
    print(n)
else:
    print(n*(100**d))

Submission status: Wrong Answer

Solution code:
d,n = map(int, input().split())
print(n*(10**d))

Submission status: Wrong Answer

Solution code:
d,n = map(int, input().split())
print(n*10**d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = raw_input()
L = S.split(" ")
if L[0] == "0":
    print 1 * int(L[1])
elif L[0] == "1":
    print 100 * int(L[1])
elif L[0] == "2":
    print 10000 * int(L[1])

Submission status: Wrong Answer

Solution code:
d,n = map(int, raw_input().split())
print n * (100 ** d)

Submission status: Wrong Answer

Solution code:
#abc100b

d,n=map(int,raw_input().split())
x=100**d
y=x*n
print y

Submission status: Wrong Answer

Solution code:
S = raw_input()
L = S.split(" ")
if L[0] == "0":
    print 1 * int(L[1])
elif L[1] == "1":
    print 100 * int(L[1])
else:
    print 10000 * int(L[1])

Submission status: Wrong Answer

Solution code:
D, N = (int(i) for i in input().split())
# D = 2
# N = 100

if N != 100:
    if D == 0:
        print(int(1*N))
    elif D == 1:
        print(int(100*N))
    elif D == 2:
        print(int(10000 * N))

else:
    if D == 0:
        print(101)
    elif D == 1:
        print(10100)
    elif D == 2:
        print(1000100)

Submission status: Wrong Answer

Solution code:
D, N = (int(i) for i in input().split())
if D == 0:
    print(int(1*N))
elif D == 1:
    print(int(100*N))
elif D == 2:
    print(int(10000 * N))

Submission status: Wrong Answer

Solution code:
A, B = (int(i) for i in input().split())
if A == 0:
    print(1*B)
elif A == 1:
    print(100*B)
elif A == 2:
    print(10000*B)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*= coding:utf-8 -*-

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

if D==0:
    print(N)
    exit()
print(N*(100**D))

Submission status: Wrong Answer

Solution code:
D, N = map(int, input().split())
N = str(N)
if D==0:
  print(N)
elif D==1:
  print(N+'00')
elif D==2:
  print(N+'0000')

Submission status: Wrong Answer

Solution code:
D, N = map(int, input().split())
N = str(N)
if D==0:
  print(N+'00')
elif D==1:
  print(N+'0000')
elif D==2:
  print(N+'000000')

Submission status: Wrong Answer

Solution code:
l = list(map(int, input().split()))
D, N = l[0], l[1]

print(100**D * N)

Submission status: Wrong Answer

Solution code:
def solve(d, n):
    return (100**d) * n

assert solve(0, 5) == 5
assert solve(1, 11) == 1100
assert solve(2, 85) == 850000

d, n = map(int, raw_input().split())
print solve(d, n)

Submission status: Wrong Answer

Solution code:
d,n=map(int,input().split())
if(d==0):
    print(n)
elif(n<100):
    print(n*(100**d))
else:
    print((n+1)*(100**d))

Submission status: Wrong Answer

Solution code:
#coding : utf-8

if __name__ == "__main__":
    d,n = list(map(int,input().split()))
    print(100**d*n)

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split(' '))

curr_number = 0

for i in range(1, 10**7):
	if i % (100**a) == 0:
		curr_number += 1

		if curr_number == b:
			print i
			break

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split(' '))

if b == 100:
	a -= 1

print b*100**a

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split(' '))

print b*100**a

Submission status: Wrong Answer

Solution code:
D, N = list(map(int, input().split()))
print(100**D*N)

Submission status: Wrong Answer

Solution code:
inputDataBuff = input().split()                                                        

D = int(inputDataBuff[0])
N = int(inputDataBuff[1])

answer = 100 ** D * N 

print(answer)

Submission status: Wrong Answer

Solution code:
inputDataBuff = input().split()                                                        

D = int(inputDataBuff[0])
N = int(inputDataBuff[1])

answer = N 


for _ in range(D):
    answer = answer * 100 

print(answer)

Submission status: Wrong Answer

Solution code:
inp = input()
D, N = int(inp.split()[0]), int(inp.split()[1])

print((100 ** D) * N)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

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

print(n * 100**d)

Submission status: Wrong Answer

Solution code:
D, N =map(int,input().split())
if D == 0:
  print(1 * N)
elif D == 1:
  print(100*N)
elif D == 2:
  print(10000*N)

Submission status: Wrong Answer

Solution code:
D,N = map(int, input().split())
print(N*10**D)

Submission status: Wrong Answer

Solution code:
def main():
    D, N = map(int, input().split())
    if N==100:
        print(N*100**D+1)
    else:    
        print(N*100**D)
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    D, N = map(int, input().split())
    
    print(N*100**D)
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
if d == 0:
    print(n)
elif d == 1:
    print(n * 100)
else:
    print(n * 10000)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
c = 0
ans = 0
if d == 0:
  print(n)
else:
  count = 0
  for i in range(1, 100**3+1):
    if d == 1:
      if i % 100 == 0:
        count += 1
        c = count
        ans = i
        if count == n:
          print(ans)
          break
    elif d == 2:
      if (i / 100) % 100 == 0:
        count += 1
        c = count
        ans = i
        if count == n:
          print(ans)
          break

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())

if d == 0:
  print(n)
elif d == 1:
  print(100*n)
elif d == 2:
  print((100**2) * n)

Submission status: Wrong Answer

Solution code:
D, N =  map(int, input().split())

def cal(x: int):
    count  = 0
    while True:
        q, r = divmod(x, pow(100, count+1))
        if q == 0:
            return count
        else:
            count += 1

for i in [1, 100, 10000]:
    if cal(i) == D:
        print(i*N)
        break

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())

if d < 1:
  print(n)
else:
  print(100**d * n)

Submission status: Wrong Answer

Solution code:
D,N = map(int, input().split( ))

if N == 100:
    print(101* (100*D))
else:
    print(N * (100**D))

Submission status: Wrong Answer

Solution code:
d, n =  map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
D,N = map(int,input().split())
print(max(100**D,1) * N)

Submission status: Wrong Answer

Solution code:

D,N=map(int,input().split())
if N==100:
    print((100**D)*(N+100**(D-1)))
else:
    print((100**D)*N)

Submission status: Wrong Answer

Solution code:
d,n = map(int,input().split())

d_seed = 1
if d == 1:
    d_seed = 100
if d == 2:
    d_seed = 10000

print(d_seed*n)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())

print(n * (100 ** d))

Submission status: Wrong Answer

Solution code:
# ANSHUL GAUTAM
# IIIT-D
 
d,n = map(int, input().split())
if(d == 0):
	print(n)
elif(d == 1):
	L = []
	for i in range(1,101):
		L.append(i*100)
	print(L[n-1])
elif(d == 2):
	L = []
	for i in range(1,101):
		L.append(i*10000)
	print(L[n-1])

Submission status: Wrong Answer

Solution code:
d,n = map(int,input().split(' '))
print(100 ** d * n)

Submission status: Wrong Answer

Solution code:
n=list(map(int,input().split()))
D=n[0]
N=n[1]
if(N==100 and D!=0):
    print((100**(D-1))*99*2)
elif(D==0):
    print(N)
else:
    print((100**D)*N)

Submission status: Wrong Answer

Solution code:
n=list(map(int,input().split()))
D=n[0]
N=n[1]
if(N==100):
    print((100**(D-1))*99*2)
else:
    print((100**D)*N)

Submission status: Wrong Answer

Solution code:
n=list(map(int,input().split()))
D=n[0]
N=n[1]
if(D!=0):
    print((100**D)*N)
else:
    print(N-1)

Submission status: Wrong Answer

Solution code:
n=list(map(int,input().split()))
D=n[0]
N=n[1]
if(D!=0):
    print((100**D)*N)
else:
    print(N-1)

Submission status: Wrong Answer

Solution code:
n=list(map(int,input().split()))
D=n[0]
N=n[1]
print((100**D)*N)

Submission status: Wrong Answer

Solution code:
D, N = [int(e) for e in input().split()]

print(100 ** D * N)

Submission status: Wrong Answer

Solution code:
D, N = map(int,input().split())
ans = 1
for i in range(D):
    ans *= 100
print(ans*N if N!=100 else ans*N+1)

Submission status: Wrong Answer

Solution code:
D, N = map(int,input().split())
ans = 1
for i in range(D):
    ans *= 100
print(ans*N if N==100 else ans*N+1)

Submission status: Wrong Answer

Solution code:
D, N = map(int,input().split())
ans = 1
for i in range(D):
    ans *= 100
print(ans*N)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
for i in range(d):
    n *= 100
print(n)

Submission status: Wrong Answer

Solution code:
D,N = map(int,input().split())


A=(100**D)*N
print(A)

Submission status: Wrong Answer

Solution code:
D, N = map(lambda x: int(x), input().split())

if D != 0:
    print(100**D * N)

else:
    print(N)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 16 23:20:14 2018

@author: sakas
"""

A, B = map(int, input().split())

if A == 0:
    if B/100:
        print(int(B+(B/100)))
    else:
        print(B)
elif A == 1:
    if B/10000:
        print(int(B*100+B))
    else:
        print(B*100)
else:
    if B/1000000:
        print(int(B*10000+B))
    else:
        print(B*10000)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

D, N = map(lambda x: int(x), input().split())

if D != 0:
    print(100**D * N)

else:
    print(N)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 16 23:20:14 2018

@author: sakas
"""

A, B = map(int, input().split())

if A == 0:
    if B/100:
        print(int(B+(B/100)))
    else:
        print(B)
elif A == 1:
    if B/10000:
        print(int(B*100+(B/100)))
    else:
        print(B*100)
else:
    if B/1000000:
        print(int(B*10000+(B/100)))
    else:
        print(B*10000)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 16 23:20:14 2018

@author: sakas
"""

A, B = map(int, input().split())

if A == 0:
    if B/100:
        print(int(B+(B/100)))
    else:
        print(B)
elif A == 1:
    if B/10000:
        print(int(B*100+(B/10000)))
    else:
        print(B*100)
else:
    if B/1000000:
        print(int(B*10000+(B/1000000)))
    else:
        print(B*10000)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 16 23:20:14 2018

@author: sakas
"""

A, B = map(int, input().split())

if A == 0:
    if B/100:
        print(int(B+(B/100)))
    else:
        print(B)
elif A == 1:
    print(B*100)
else:
    print(B*10000)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 16 23:20:14 2018

@author: sakas
"""

A, B = map(int, input().split())

if A == 0:
    if not B/100:
        print(B+(B/100))
    else:
        print(B)
elif A == 1:
    print(B*100)
else:
    print(B*10000)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 16 23:20:14 2018

@author: sakas
"""

A, B = map(int, input().split())

if A == 0:
    print(B)
elif A == 1:
    print(B*100)
else:
    print(B*10000)

Submission status: Wrong Answer

Solution code:
from sys import stdin


def main():
    D, N = [int(x) for x in stdin.readline().rstrip().split()]
    result = 100 ** D * N
    if D == 0 and N == 100:
        result += 1
    if D == 1 and N == 100:
        result += 100
    print(result)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 16 23:20:14 2018

@author: sakas
"""

A, B = map(int, input().split())

if A == 0:
    print(B)
elif B == 2:
    print(B*100)
else:
    print(B*10000)

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
if d==0:
    ans=n
    if n==100:
        n=101
else:
    ans=(100**d)*n
    if n==100:
        ans=100**d*101

print(ans)

Submission status: Wrong Answer

Solution code:
def ringo(d,n):
    if (d == 0 and n < 100):
        return n
    elif(d == 0 and n == 100):
        return n + 1
    elif(d == 1 and n < 100):
        return 100 * n
    elif(d == 1 and n == 100):
        return 100 * n + 1
    elif(d == 2 and n < 100):
        return 10000 * n
    elif(d == 2 and n == 100):
        return 10000 * n + 1
    else:
        return 0

l = input().split()
print(ringo(int(l[0]),int(l[1])))

Submission status: Wrong Answer

Solution code:
d, n = map(int, input().split())
if d==0:
    ans=n
    if n==100:
        n==101
else:
    ans=(100**d)*n
    if n==100:
        ans=100**d*101

print(ans)

Submission status: Wrong Answer

Solution code:
inp = input()
inp2 = inp.split()
A=int(inp2[0])
B=int(inp2[1])
C = B*(100**A)
if B == 100:
	if A == 0:
		C = 101
	elif A == 1:
		C = 10001
	elif A == 2:
		C = 1000001
print(C)

Submission status: Wrong Answer

Solution code:
N,D=map(int,input().split())
print((N+N//100)*100**D)

Submission status: Wrong Answer

Solution code:
dn = input()
d, n = dn.split()
d = int(d)
n = int(n)

res = (100**d) * n
if n == 100:
    res = res/100

print(res)

Submission status: Wrong Answer

Solution code:
from sys import stdin


def main():
    D, N = [int(x) for x in stdin.readline().rstrip().split()]
    result = 100 ** D * 100
    if D == 0 and N == 100:
        result += 1
    if D == 1 and N == 100:
        result += 100
    print(result)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
D, N = map(int, input().split())
if D == 0:
    out = N
    if N == 100:
        out = 101
else:
    out = 100 ** D * N
    if N == 100:
        out = 100 ** (D + 1) + 100
print(out)

Submission status: Wrong Answer

Solution code:
d, n = map(int, raw_input().split())

if d==0:
    if n==100:
        print n+1
    else:
        print n
elif d==1:
    if n==100:
        print 101*n
    else:
        print 100*n
    
else:
    if n==100:
        print 10001*n
    else:
        print 10000*n

Submission status: Wrong Answer

Solution code:
dn = input()
d, n = dn.split()
d = int(d)
n = int(n)
if 0<=d<=2:
    res = (100**d) * n
print(res)

Submission status: Wrong Answer

Solution code:
# -*- coding:utf-8 -*-
if __name__ == "__main__":
    d, n = map(int, input().split())
    core = 100**d
    factors = [ core*tmp for tmp in range(1,101) ]
    if n == 100:
        ans = factors[n-1]+1
    else:
        ans = factors[n-1]
    print(ans)

Submission status: Wrong Answer

Solution code:
D, N = map(int, input().split())
if D == 0:
    out = N
else:
    out = 100 ** D * N
if N == 100:
    out = 100 ** (D + 1) + 100
print(out)

Submission status: Wrong Answer

Solution code:
d, n = map(int, raw_input().split())

if d==0:
    if n==100:
        print n+1
    else:
        print n
elif d==1:
    if n==100:
        print 101*n
    else:
        print 100*n
    
else:
    if n==100:
        print 101*n
    else:
        print 10000*n