Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
import string
count = {x: 0 for x in string.ascii_lowercase}

s = input()
s.lower()

for c in s:
    if 'a' <= c <= 'z':
        count[c] += 1

for key, num in count:
    print("{0} : {1}".format(key, num))

Fixed submission:
a = [chr(i) for i in range(97, 123)]
line = ''
while True:
    try:
        line += input().lower()
    except:
        break
for c in a:
    print("{0} : {1}".format(c, line.count(c)))

Buggy python submission (verdict: Runtime Error):
#include <stdio.h>
#include <ctype.h>
#include <string.h>
 
int main() {
  int alpha;
  int cnt[256] = {0};
  while( (alpha = getchar()) != EOF ) {
    alpha = tolower( alpha );
    cnt[alpha]++;
  }
  for(alpha = 'a'; alpha <= 'z'; alpha++) {
    printf( "%c : %d\n", alpha, cnt[alpha] );
  }
  return 0;
}

Fixed submission:
a = [chr(i) for i in range(97, 123)]
line = ''
while True:
    try:
        line += input().lower()
    except:
        break
for c in a:
    print("{0} : {1}".format(c, line.count(c)))

Buggy python submission (verdict: Runtime Error):
#include <stdio.h>
#include <ctype.h>
#include <string.h>
 
int main() {
  int alpha;
  int cnt[256] = {0};
  while( (alpha = getchar()) != EOF ) {
    alpha = tolower( alpha );
    cnt[alpha]++;
  }
  for(alpha = 'a'; alpha <= 'z'; alpha++) {
    printf( "%c : %d\n", alpha, cnt[alpha] );
  }
  return 0;
}

Fixed submission:
a = [chr(i) for i in range(97, 123)]
line = ''
while True:
    try:
        line += input().lower()
    except:
        break
for c in a:
    print("{0} : {1}".format(c, line.count(c)))
Buggy python submission (verdict: Runtime Error):
w = input()

count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT'
        break
    for s in line.lower()split():
         count += 1
print(count)

Fixed submission:
W = input()
 
count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT':
        break
 
    for word in line.split():
        if word.lower() == W.lower():
            count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
W = input()

count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT'
        break
    for s in line.lower()split():
        if s == W:        
            count += 1


print(count)

Fixed submission:
W = input()
 
count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT':
        break
 
    for word in line.split():
        if word.lower() == W.lower():
            count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
W = input()

count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT':
        break
   
     for s in line.lower()split():
        if s == W:        
            count += 1


print(count)

Fixed submission:
W = input()
 
count = 0
while True:
    line = input()
    if line == 'END_OF_TEXT':
        break
 
    for word in line.split():
        if word.lower() == W.lower():
            count += 1
print(count)
Buggy python submission (verdict: Runtime Error):
while True:
    s = input()
    if s == '_': 
        break

   m = int(input())
   for mi in range(m):
       h = int(input())
       s = s[0] + s[1]


   print(s)

Fixed submission:
while True:
    s =input()
    if s =='-':   break
    loop=int(input())
    for i in range(loop):
        ch=int(input())
 
        s = s[ch:]+s[:ch]
    print(s)

Buggy python submission (verdict: Runtime Error):
while True:
    s = input()
    if s == '_': 
        break

   m = int(input())
   for mi in range(m):
       h = int(input())
       s = s[:index] + s[:index]


   print(s)

Fixed submission:
while True:
    s =input()
    if s =='-':   break
    loop=int(input())
    for i in range(loop):
        ch=int(input())
 
        s = s[ch:]+s[:ch]
    print(s)

Buggy python submission (verdict: Runtime Error):
while True:
    s = input()
    if s == '_': 
        break

   m = int(input())
   for mi in range(m):
       h = int(input())
       s = s[index:] + s[:index]


   print(s)

Fixed submission:
while True:
    s =input()
    if s =='-':   break
    loop=int(input())
    for i in range(loop):
        ch=int(input())
 
        s = s[ch:]+s[:ch]
    print(s)

Buggy python submission (verdict: Runtime Error):
while True:
    s = input()
    if s == '_': 
        break

   m = int(input())
   for mi in range(m):
       h = int(input())
       s = s[m:] + s[:m]


   print(s)

Fixed submission:
while True:
    s =input()
    if s =='-':   break
    loop=int(input())
    for i in range(loop):
        ch=int(input())
 
        s = s[ch:]+s[:ch]
    print(s)

Buggy python submission (verdict: Runtime Error):
while True:
    s = input()
    if s == '_': 
        break

   m = int(input())
   for mi in range(m):
       h = int(input())
       s = s[h:] + s[:h]


   print(s)

Fixed submission:
while True:
    s =input()
    if s =='-':   break
    loop=int(input())
    for i in range(loop):
        ch=int(input())
 
        s = s[ch:]+s[:ch]
    print(s)

Buggy python submission (verdict: Runtime Error):
while True:
    s = input()
    if s == '_': 
        break

   m = int(input())
   for mi in range(m):
       h = int(input())
       s = s[h:] + s[:h]


   print(s)

Fixed submission:
while True:
    s =input()
    if s =='-':   break
    loop=int(input())
    for i in range(loop):
        ch=int(input())
 
        s = s[ch:]+s[:ch]
    print(s)
Buggy python submission (verdict: Runtime Error):
n = int(input())

taro = 0
hanako = 0
for ni in range(n):
    t, h = input().split()
    
    if t < h:
        hanako += 3
    elif t > h:
        taro += 3
    else:
        hanako += 1
        taro += 1

print(taro.hanako)

Fixed submission:
n = int(input())
 
T_s = 0
H_s = 0
 
for i in range(n):
    animals = input().split()
    T_a = animals[0]
    H_a = animals[1]
    if T_a < H_a:
        H_s += 3
    elif T_a > H_a:
        T_s += 3
    else:
        T_s += 1
        H_s += 1
 
print(T_s, H_s)
Buggy python submission (verdict: Runtime Error):
s = input()
 
for i in range(int(input())):
    cmd = input().split()
          s = s[:a] + cmd[3] + s[b+1:]

Fixed submission:
s = input()
 
for i in range(int(input())):
    cmd = input().split()
    a, b = int(cmd[1]), int(cmd[2])
 
    if cmd[0] == 'print':
        print(s[a:b+1])
    elif cmd[0] == 'reverse':
        s = s[:a] + s[a:b+1][::-1] + s[b+1:]
    elif cmd[0] == 'replace':
        s = s[:a] + cmd[3] + s[b+1:]
Buggy python submission (verdict: Runtime Error):
s = int(input())
s = s % 60
n = s //60 % 60
h = s //60 //60

print("{0}:(1):(2)",format (h,m,s)

Fixed submission:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format (h,m,s))

Buggy python submission (verdict: Runtime Error):
S = int(input())
s = s % 60
m = s // 60 % 60
h = s // 60 // 60

print("{0}:(1):(2)",format (h,m,s)

Fixed submission:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format (h,m,s))

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

s = s % 60
m = s // 60 % 60
h = s // 60 // 60

print("{0}:{1}:{2}".format (h,m,s))

Fixed submission:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format (h,m,s))
Buggy python submission (verdict: Runtime Error):
a,b = [int(i) for i in input().split]

if   (a < b):
    print(a < b)

elif (a > b):
    print(a > b)

else 
    print(a == b)

Fixed submission:
a, b = [int(i) for i in input().split()]
 
if a < b:
    print("a < b")
 
elif a > b:
    print("a > b")
 
else:
    print("a == b")

Buggy python submission (verdict: Runtime Error):
a,b = [int(i) for i in input().split]

if (a<b):
    print(a < b)
elif (a > b):
    print(a > b)
else
    print(a == b)

Fixed submission:
a, b = [int(i) for i in input().split()]
 
if a < b:
    print("a < b")
 
elif a > b:
    print("a > b")
 
else:
    print("a == b")

Buggy python submission (verdict: Runtime Error):
a,b = [int(i) for i in input().split]

if (a<b):
    print(a < b)
elif (a > b):
    print(a > b)
else
    print(a == b)

Fixed submission:
a, b = [int(i) for i in input().split()]
 
if a < b:
    print("a < b")
 
elif a > b:
    print("a > b")
 
else:
    print("a == b")
Buggy python submission (verdict: Runtime Error):
X,H,x,y,r =[int() for i in input().split()]
if x-r < 0 or x+r > W:
    print("No")
 
elif y-r < 0 or y+r > H:
    print("No")
 
elif x < r:
    print("No")
 
elif y < r:
    print("No")
 
else:
    print("Yes")

Fixed submission:
W,H,x,y,r = [int(i) for i in input().split()]

if x + r <= W and y - r >= 0 and x - r >= 0 and y+r <= H:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
X,H,x,y,r =[int() for i in input().split()]
if x-r < 0 or x+r > W:
    print("No")
 
elif y-r <0 or y+r> H:
    print("No")
 
elif x < r:
    print("No")
 
elif y < r:
    print("No")
 
else:
    print("Yes")

Fixed submission:
W,H,x,y,r = [int(i) for i in input().split()]

if x + r <= W and y - r >= 0 and x - r >= 0 and y+r <= H:
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input(),split()]


d = a // b
r = a % b
f = a / b


print("{0} {1} {2:.5f}".format(d, r, f))

Fixed submission:
import sys
        
while True:
    (x, y) = [int(i) for i in sys.stdin.readline().split(' ')]
        
    if x == 0 and y == 0:
        break
        
    if x > y:
        z = x
        x = y
        y = z
        
    print(x, y)

Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input(),split()]


d = a // b
r = a % b
f = a / b


print("{0} {1} {2:.5f}".format(d, r, f))

Fixed submission:
import sys
        
while True:
    (x, y) = [int(i) for i in sys.stdin.readline().split(' ')]
        
    if x == 0 and y == 0:
        break
        
    if x > y:
        z = x
        x = y
        y = z
        
    print(x, y)
Buggy python submission (verdict: Runtime Error):
a,b,c =[input(i) for i in input().split()]


total = 0
for d in range(a,b + 1):
    if c % d == 0:
        tptal += 1

print(total)

Fixed submission:
a,b,c = [int(i) for i in input().split()]


total = 0
for d in range(a,b + 1):
    if c % d == 0:
        total += 1

print(total)

Buggy python submission (verdict: Runtime Error):
a,b,c =[input(i) for i in input().split()]


total = 0
for d in range(a,b + 1):
    if c % d == 0:
        total += 1

print(total)

Fixed submission:
a,b,c = [int(i) for i in input().split()]


total = 0
for d in range(a,b + 1):
    if c % d == 0:
        total += 1

print(total)
Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input(),split()
    a = int(a)
    b = int(b)


    if op == '?':
        break


    if op == '+':
        print(a + b)


    if op == '-':
        print(a - b)


    if op == '*':
        print(a * b)


    if op == '/':
        print(a / b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
   
    if op == '?':
        break
   
    if op == '+':
        print(a + b)
   
    if op == '-':
        print(a - b)
   
    if op == '*':
        print(a *b)
   
    if op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input(),split()
    a = int(a)
    b = int(b)


    if op == '?':
        break


    if op == '+':
        print(a + b)


    if op == '-':
        print(a - b)


    if op == '*':
        print(a * b)


    if op == '/':
        print(a // b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
   
    if op == '?':
        break
   
    if op == '+':
        print(a + b)
   
    if op == '-':
        print(a - b)
   
    if op == '*':
        print(a *b)
   
    if op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input(),split()
    a = int(a)
    b = int(b)

    if op == '?':
        break

    elif op == '+':
        print(a + b)

    elif op == '-':
        print(a - b)

    elif op == '*':
        print(a * b)

    elif op == '/':
        print(a // b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
   
    if op == '?':
        break
   
    if op == '+':
        print(a + b)
   
    if op == '-':
        print(a - b)
   
    if op == '*':
        print(a *b)
   
    if op == '/':
        print(a // b)

Buggy python submission (verdict: Runtime Error):
while True:
(a, op, b) = [int(i) if i.isdigit() else i for i in input().split()]
    
    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)

    if op == '*':
        print(a * b)

    if op == '/':
        print(a // b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
   
    if op == '?':
        break
   
    if op == '+':
        print(a + b)
   
    if op == '-':
        print(a - b)
   
    if op == '*':
        print(a *b)
   
    if op == '/':
        print(a // b)
Buggy python submission (verdict: Runtime Error):
while True:
    H,w = [int(i) for i in input().split()
    if H == W == 0:
        break
    for h in range(h):
        for w in range(w):
            print('#', end='')

        print()

    print()

Fixed submission:
while True:
    H, W = [int(i) for i in input().split()]
    if H == W == 0:
        break
         
    for h in range(H):
        for w in range (W):
            print('#', end='')
         
        print()
     
    print()

Buggy python submission (verdict: Runtime Error):
while True:
    H,W = [int(i) for i in input().split()
    if H == W ==0:
        break
    for h in range(h):
        for w in range(w):
            print('#', end='')

        print()

    print()

Fixed submission:
while True:
    H, W = [int(i) for i in input().split()]
    if H == W == 0:
        break
         
    for h in range(H):
        for w in range (W):
            print('#', end='')
         
        print()
     
    print()
Buggy python submission (verdict: Runtime Error):
while True:
    H,W = [int(i) for i in input().split()]
    if H == W == 0:
        break
    for h in range(H):
        for w  in range(w):
            if (h+w) % 2 == 0 :
                print('#', end ='')
            else
                print('.', end ='')
        print()
    print()

Fixed submission:
while True:
    h, w = map(int,input().strip().split())
    if h == w == 0: break
    for y in range(h):
        print(''.join('#.'[(x + y) % 2] for x in range(w)))
    print()

Buggy python submission (verdict: Runtime Error):
while True:
    H,W = [int(i) for i in input().split()]
    if H == W == 0:
        break
    for h in range(H):
        for w  in range(w):
            if (h+w) % 2 == 0 :
                print('#', end ='')
            elif
                print('.', end ='')
        print()
    print()

Fixed submission:
while True:
    h, w = map(int,input().strip().split())
    if h == w == 0: break
    for y in range(h):
        print(''.join('#.'[(x + y) % 2] for x in range(w)))
    print()
Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]

count = int(input())
for c in range(count):
    card = input()
    data.remove(card)

print(dat

Fixed submission:
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]

count = int(input())
for c in range(count):
    card = input()
    data.remove(card)

for c in data:
    print(c)
Buggy python submission (verdict: Runtime Error):
n, m = [int(i) for i in input().split()]

matrix = []
for ni in  range(n):
    matrix.append([int(a) for a in input().split()])

vector = []
for mi in range(m):
    vector.append(int(input()))

for ni in range(n):

    sum =0
    for mi in rannge(m):
        sum += matrix[ni][mi] * vector[mi]

        print(sum)

Fixed submission:
n, m = [int(i) for i in input().split()]
 
matrix = []
for ni in range(n):
    matrix.append([int(a) for a in input().split()])
 
vector = []
for mi in range(m):
    vector.append(int(input()))
 
b = []
for ni in range(n):
    sum = 0
    for mi in range(m):
        sum += matrix[ni][mi] * vector[mi]
 
    print(sum)
Buggy python submission (verdict: Runtime Error):
r, c = [int(i) for i in input().split()]

data = []
sum_row =[0] * (c + 1)

for ri in range(r):
    data[ri].append([int(i) for i in input().split()])
    data[ri].append(sum(data[ri]))
    print(" ".join([str(d) for d in data[ri]]))
    for ci in range(c + 1):
        sum_row[ci] += data[ri] [ci]

print(" ".join)

from pprint import pprint
pprint(data)
pprint(sum_row)

Fixed submission:
r, c = [int(i) for i in input().split()]
 
data = []
sum_row = [0] * (c + 1)
 
for ri in range(r):
    data.append([int(i) for i in input().split()])
    data[ri].append(sum(data[ri]))
    print(" ".join([str(d) for d in data[ri]]))
    for ci in range(c + 1):
        sum_row[ci] += data[ri][ci]
 
print(" ".join([str(s) for s in sum_row]))
Buggy python submission (verdict: Runtime Error):
n , m ,l = [int(i) for i in input().split()]

A = []
B = []
C = []

for ni in range(n):
    A.append([int(i) for mi in input().split()])

for mi in range(m):
    B.append([int(i) for i in input().split()])

for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]

for  li in range(l):
    print(" ",join([str(s) for s in C[ni]]))

Fixed submission:
n, m, l = [int(i) for i in input().split()]
 
A = []
B = []
C = []
 
for ni in range(n):
    A.append([int(i) for i in input().split()])
 
for mi in range(m):
    B.append([int(i) for i in input().split()])
 
for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]
 
for ni in range(n):
    print(" ".join([str(s) for s in C[ni]]))

Buggy python submission (verdict: Runtime Error):
n , m ,l = [int(i) for i in input().split()]

A = []
B = []
C = []

for ni in range(n):
    A.append([int(i) for mi in input().split()])

for mi in range(m):
    B.append([int(i) for i in input().split()])

for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]

for  ni in range(l):
    print(" ",join([str(s) for s in C[ni]]))

Fixed submission:
n, m, l = [int(i) for i in input().split()]
 
A = []
B = []
C = []
 
for ni in range(n):
    A.append([int(i) for i in input().split()])
 
for mi in range(m):
    B.append([int(i) for i in input().split()])
 
for i in range(n):
    C.append([])
    for j in range(l):
        C[i].append(0)
        for k in range(m):
            C[i][j] += A[i][k] * B[k][j]
 
for ni in range(n):
    print(" ".join([str(s) for s in C[ni]]))
Buggy python submission (verdict: Runtime Error):
n = int(input())

taro = 0
hanako = 0
for ni in range(n):
    t, h = input.split()

    if t < h:
        hanako += 3
    elif t > h:
        taro+= 3
    else:
        hanako += 1
        taro += 1
        
print(taro, hanako)

Fixed submission:
while True:
    s = input()
    if s == '-':
        break
    m = int(input())
    for mi in range(m):
        h = int(input())
 
        s = s[h:] + s[:h]
    print(s)

Buggy python submission (verdict: Runtime Error):
n = int(input())
 
taro = 0
hanako = 0
for ni in range(n):
    t, h = input().split()
 
    if t < h:
        hanako += 3
    elif t > h:
        taro += 3
    else:
        hanako += 1
        taro += 1
 
print(taro, hanako)

Fixed submission:
while True:
    s = input()
    if s == '-':
        break
    m = int(input())
    for mi in range(m):
        h = int(input())
 
        s = s[h:] + s[:h]
    print(s)
Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input().split()]
a = int(ab[0])
b = int(ab[1])
print(a*b, (a+b)*2)

Fixed submission:
ab = input().split()
a = int(ab[0])
b = int(ab[1])
print(a*b, (a+b)*2)

Buggy python submission (verdict: Runtime Error):
a, b = input().split()
a = int(ab[0])
b = int(ab[1])
print(a*b, (a+b)*2)

Fixed submission:
ab = input().split()
a = int(ab[0])
b = int(ab[1])
print(a*b, (a+b)*2)
Buggy python submission (verdict: Runtime Error):
S = int(input())
h = (S % 3600)
t = (S % 60)
s = (S - h - t)
print(h:t:s)

Fixed submission:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format(h,m,s))

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = (S / 3600)
t = (S / 60)
s = (S - h - t)
print(h:t:s)

Fixed submission:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format(h,m,s))

Buggy python submission (verdict: Runtime Error):
S = int(input())
h = (S / 3600)
t = (S / 60)
s = (S % 3600)
print(h:t:s)

Fixed submission:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60

print("{0}:{1}:{2}".format(h,m,s))
Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input().split()]

if a < b:
    print("a < b")

elif a > b:
    print("a > b")
elif a == b
    print("a == b")

Fixed submission:
a, b = [int(i) for i in input().split()]

if a < b:
    print("a < b")

elif a > b:
    print("a > b")
elif a == b:
    print("a == b")

Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input().split()]

if a < b:
    print("a < b")

elif a > b:
    print("a > b")
elif a == b
    print("a == b")

Fixed submission:
a, b = [int(i) for i in input().split()]

if a < b:
    print("a < b")

elif a > b:
    print("a > b")
elif a == b:
    print("a == b")

Buggy python submission (verdict: Runtime Error):
a, b = [int(i) for i in input().split()]

if a < b:
    print("a < b")

else a > b:
    print("a > b")

elif a == b
    print("a == b")

Fixed submission:
a, b = [int(i) for i in input().split()]

if a < b:
    print("a < b")

elif a > b:
    print("a > b")
elif a == b:
    print("a == b")
Buggy python submission (verdict: Runtime Error):
a,b,c = [int(i) for i in input()]

if a < b < c:
    print("Yes")
    
else:
    print("No")

Fixed submission:
a,b,c = [int(i) for i in input().split()]

if a < b < c:
    print("Yes")
    
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
    print("No")
elif x+y <= W and y+r <= H:
    print("Yes")
else:
    print("No")

Fixed submission:
W, H, x, y, r = [int(i) for i in input().split()]
if x < 0 or y < 0:
    print("No")
elif x+r <= W and y+r <= H:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
    print("No")
elif x+r <= W and y+r <= H:
    print("Yes")
else:
    print("No")

Fixed submission:
W, H, x, y, r = [int(i) for i in input().split()]
if x < 0 or y < 0:
    print("No")
elif x+r <= W and y+r <= H:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
    print("No")
elif x+r <= W and y+r <= H:
    print("Yes")
else:
    print("No")

Fixed submission:
W, H, x, y, r = [int(i) for i in input().split()]
if x < 0 or y < 0:
    print("No")
elif x+r <= W and y+r <= H:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
    print("No")
elif x+r <= W and y+r <= H:
    print("Yes")
else:
    print("No")

Fixed submission:
W, H, x, y, r = [int(i) for i in input().split()]
if x < 0 or y < 0:
    print("No")
elif x+r <= W and y+r <= H:
    print("Yes")
else:
    print("No")