Buggy python submission (verdict: Runtime Error):
count = 0       #初期値を0とするcount変数を作る.
n,k = map(int,input().split())      #整数とn進数を入力する。

while True:         #nをkで割った商が0になるまでcountに1を足し続ける。
    count = count +1
    n, amari = divmod(n,k)
    if n == 0:
        break

print(count)

Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
n,k = map(int,input())
lis = []
ing_total = 1

while n / k == 0:
    if n > k：
        lis.append(int(n % k))
        ing_total += 1
    else:
        if n >= 10:
            ing_total = 2
        else:
            ing_total = 1

print(ing_total)

Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
n,r = map(int,input().split())

if n >== 10:
    print(r)
else:
    in_rating = r + 100 * (10-n)
    print(in_rating)


Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
n,r=map(int,input.split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)  

Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
n,r = int(input()),int(input()) #コンテストの参加回数と表示レーティング

if n >= 10:
  print(r)
else:
  in_rate = r + 100 * (10 - n)
  print(in_rate)


Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
n,r = int(input()),int(input()) #コンテストの参加回数と表示レーティング

if n >= 10:
  print(r)
else:
  in_rate = r + 100 * (10 - n)
  print(in_rate)


Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
n,r = int(input()),int(input) #コンテストの参加回数と表示レーティング

if n >= 10:
  print(r)
else:
  in_rate = r + 100 * (10 - n)
  print(in_rate)

Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
in_rating = 0
N = int(input())
R = int(input())

if N >= 10:
  in_rating = R
  print(in_rating)
else:
  in_rating = R + 100 * (10-N)
  print(in_rating)


Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
in_rating = 0
N = int(input())
R = int(input())

if N >= 10:
  in_rating = R
  print(in_rating)
else:
  in_rating = R + 100 * (100-N)
  print(in_rating)


Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
in_rating = 0
N = int(input())
R = int(input())

if N >= 10:
  in_rating = R
  print(in_rating)
else:
  in_rating = R + 100(10-N)
  print(in_rating)

Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
in_rating = 0
N = int(input())
R = int(input())

if N >= 10:
  in_rating = R
  print(in_rating)
else:
  in_rating = R + 100(100-N)
  print(in_rating)

Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)

Buggy python submission (verdict: Runtime Error):
in_rating = 0
N = int(input())
K = int(input())

if n >= 10:
  in_rating = K
  print(K)
else:
  in_rating = K + 100(100-K)
  

Fixed submission:
n,r=map(int,input().split())

if n >= 10:
  print(r)
else:
	in_rate = r + 100 * (10-n)
	print(in_rate)