Buggy python submission (verdict: Runtime Error):
x = input()
i = 1
while (x != 0):
 print("case{},{}".format(i,x))
   i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
 print("case{}:{}".format(i,x))
 i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
 print("case{}:{}".format(i,x))
 i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
 print("Case{}:{}".format(i,x))
 i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
 print("Case{}: {}".format(i, x))
 i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
 print("Case{}: {}".format(i, x));
 i += 1;

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
    print("Case {}: {}".format(i, x));
    i += 1;

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
    print("Case {}: {}".format(i, x));
    i += 1;

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
    print("Case {}: {}".format(i, x));
    i += 1;

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Runtime Error):
i = 1
while True:
    x = int(input())
    if x == 0: break
    print("Case {}: {}".format(i, n))
    i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Runtime Error):
i = 1
while True:
    x = int(input())
    if x == 0: break
    print("Case {}: {}".format(i, n))
    i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Runtime Error):
i = 1
while True:
    x = int(input())
    if x == 0:
    break
    print("Case {}: {}".format(i, n))
    i += 1

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Time Limit Exceeded):
x = input()
i = 1
while (x != '0'):
    print("Case {}: {}".format(i, x));
    i += 1;

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1

Buggy python submission (verdict: Runtime Error):
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break
    elif x <= y:
        print(x,y)
    else:
        print(y,x)

Fixed submission:
i = 1
while True:
    x = int(input().strip())
    if x == 0:
        break
    else:
        print ("Case {}: {}".format(i,x))
        i += 1