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

if N < 10:
  print(N)
elif N < 100:
  print(9)
elif N < 1000:
  print(9+ N-99)
elif N < 10000:
  print(909)
elif N < 100000:
  print(909 + N - 9999)
else:
  print(90909)


Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

Buggy python submission (verdict: Runtime Error):
N=int(input())
 
if N < 10:
  print(N)
  
elif N < 100:
  print(9)

  
elif N < 1000:
  print(9+ N-99)
  
  
elif N < 10000:
  print(909)
  
elif N < 100000:
  print(909 + N - 9999)

else:
  print(90909)

Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

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

if N < 10:
  print(N)
  
elif N < 100:
  print(9)
  
elif N < 1000:
  print(9+ N-99)
  
elif N < 10000:
  print(909)

elif N < 100000:
  print(909 + N - 9999)

else:
  print(90909)


Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

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

if N < 10:
  print(N)
  
elif N < 100:
  print(9)
  
elif N < 1000:
  print(9+ N-99)
  
elif N < 10000:
  print(909)

elif N < 100000:
  print(909 + N - 9999)

else:
  print(90909)


Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

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


if N < 10:
  print(N)
  
elif N < 100:
  print(9)
  
elif N < 1000:
  print(9+ N-99)
  
elif N < 10000:
  print(909)

elif N < 100000:
  print(909 + N - 9999)

else:
  print(90909)


Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

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


if N < 10:
  print(N)
elif N < 100:
  print(9)
elif N < 1000:
  print(9+ N-99)
  
elif N < 10000:
  print(909)

elif N < 100000:
  print(90909)


Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

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

num = 0
if N < 10:
  print(N)
elif N < 100:
  print(9)
elif N < 1000:
  print(9+ n-99)
  
elif N <10000:
  print(909)

elif N < 100000:
  print(90909)


Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

Buggy python submission (verdict: Runtime Error):
A, B, C = input().split(" ")
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)


Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

Buggy python submission (verdict: Runtime Error):
A, B, C = input()
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

Buggy python submission (verdict: Runtime Error):
A, B, C = input()

D = A - B


if C - D <= 0:
  print(0)
else:
  print(C-D)

Fixed submission:
A, B, C = (int(i) for i in input().split(" "))
 
D = A - B

 
if C - D <= 0:
  print(0)
else:
  print(C-D)

Buggy python submission (verdict: Runtime Error):
#https://atcoder.jp/contests/abc136/tasks/abc136_a

print(' A = ')
A = input()
A =int(A)

print(' B = ')
B = input()
B =int(B)

print(' C = ')
C = input()
C =int(C)

if 1<=B<=A<=20 and 1<=C<=20:
    i=C-(A-B)
else:
    print('condition failed')

print('C have',i)

Fixed submission:
#https://atcoder.jp/contests/abc136/tasks/abc136_a

A,B,C=(int(x) for x in input().split())
i=0

if 1<=B<=A<=20 and 1<=C<=20:
    i=C-(A-B)
    if i<0:
        i=0
else:
    print('condition failed')

print(i)

Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())

print(min( C - (A - B), 0)

Fixed submission:
A, B, C = map(int, input().split())
print(max( C - (A - B), 0))