Buggy python submission (verdict: Runtime Error):
X = int(input())
dp = [0 for i in range(X+1)]
if X <100:
    print(0)
else:
    for i in range(100,106):
        dp[i] =1
    for i in range(1,X+1):
        if dp[i-100] == 1 or dp[i-101] == 1 or dp[i-102] == 1 or dp[i-103] == 1 or dp[i-104] == 1 or dp[i-105] == 1:
            dp[i] = 1
    print(dp[-1])

Fixed submission:
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    print(c)

Buggy python submission (verdict: Runtime Error):
X = int(input())
dp = [0 for i in range(X+1)]
for i in range(100,106):
    dp[i] =1
for i in range(1,X+1):
    if dp[i-100] == 1 or dp[i-101] == 1 or dp[i-102] == 1 or dp[i-103] == 1 or dp[i-104] == 1 or dp[i-105] == 1:
        dp[i] = 1
print(dp[-1])

Fixed submission:
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    print(c)

Buggy python submission (verdict: Runtime Error):
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    

print(c)

Fixed submission:
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    print(c)

Buggy python submission (verdict: Runtime Error):
X = int(input())
if X >= 2000:
    print(1)
else:
    c = 0
    for i in range(20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    

print(c)


Fixed submission:
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    print(c)

Buggy python submission (verdict: Runtime Error):
X = int(input())
if X >= 2000:
    print(1)
else:
    c = 0
    for i in range(20):
        if X%100 <= i*5:
            c=1
    

print(c)


Fixed submission:
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    print(c)

Buggy python submission (verdict: Runtime Error):
X = int(input())
if X >= 2000:
    print(1)
else:
    c = 0
    for i in range(20):
        if X%100 <= i*5:
            c=1
        else:
            c=0
    

print(c)

Fixed submission:
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    print(c)

Buggy python submission (verdict: Runtime Error):
X = int(input())
x = X%2100
c = 0
for i in range(1,21):
    if int(x//100) == i:
        if x%100  <= i*5:
            c=1
        else:
            continue
if x = 2100:
    c=1
print(c)


Fixed submission:
X = int(input())
if X >= 2000:
    print(1)
elif X<= 99:
    print(0)
else:
    c = 0
    for i in range(1,20):
        if int(X//100) == i:
            if X%100 <= i*5:
                c=1
    print(c)