Buggy python submission (verdict: Runtime Error):
s=input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s=input()
count = 0 
if s[0] == 1:
    count += '1'
elif s[1] == 1:
    count += '1'
elif s[2] == 1:
    count += '1'
else:
    count = 0
    print(count('1'))

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s=input()
 
count = 0 
if s[0] == 1:
    count += '1'
elif s[1] == 1:
    count += '1'
elif s[2] == 1:
    count += '1'
else:
    count = 0
    print(count('1')

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s=input()
 
count = 0 
if s[0] = 1:
    count + = 1
elif s[1] = 1:
    count + = 1
elif s[2] = 1:
    count + = 1
else:
    count = 0
    print(s.count('1')

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s=input()
 
count = 0 
if s[0] = 1:
    count + = 1
elif s[1] = 1:
    count + = 1
elif s[2] = 1:
    count + = 1
else:
    count = 0
    print(s.count('1')

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s=input()
 
if s[0] = 1:
    con + = 1
elif s[1] = 1:
    con + = 1
elif s[2] = 1:
    con + = 1
    print(1)

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s = int(input())
print(s.count('1'))

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s=int(input())
 
if s[0] == 1:
    print(1)
elif s[1] == 1:
    print(1)
elif s[2] == 1:
    print(1)
else:
    print(0)
s.count(1)

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
s1=int(input())
s2=int(input())
s3=int(input())

S=[s1,s2,s3]
S.count(1)

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)

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

if s[0] == 1:
    print(a)
elif s[1] == 1:
    print(a)
elif s[2] == 1:
    print(a)
else:
    print(b)
print(count(a))

Fixed submission:
s = input()
count = 0 
if s[0] == '1':
    count += 1
if s[1] == '1':
    count += 1
if s[2] == '1':
    count += 1
print(count)