Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split('')
friends_all=friends[0]
friends_cake=friends[1]
cakes=input()
cakes.split('')
cakes_amount(sum(cakes))
one_person=cakes_amount//friends
if cakes_amount%friends==0:
        pass
else:
        one_person+=1
preint(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split('')
friends_all=friends[0]
friends_cake=friends[1]
cakes=input()
cakes.split('')
cakes_amount(sum(cakes))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all==0:
        pass
else:
        one_person+=1
preint(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
friends_cake=friends[1]
cakes=input()
cakes_amount(sum(cakes.split(' ')))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all==0:
        pass
else:
        one_person+=1
preint(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
cakes=input()
cakes_amount(sum(cakes.split(' ')))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all==0:
        pass
else:
        one_person+=1
preint(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
cakes=input()
cakes_amount(sum(cakes.split(' ')))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all==0:
        pass
else:
        one_person+=1
        
preint(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
cakes=input()
cakes.split(' ')
cakes_amount=(sum(cakes))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all==0:
        pass
else:
        one_person+=1
        
preint(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
cakes=input()
cakes.split(' ')
cakes_amount=(sum(cakes))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all==0:
        pass
else:
        one_person+=1
        
print(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
cakes=input()
cakes.split(' ')
cakes_amount=(sum(cakes))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all==0:
        pass
else:
        one_person+=1
        
print(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
cakes=input()
cakes.split(' ')
cakes_amount=(sum(cakes))
one_person=cakes_amount//friends_all
if cakes_amount%friends_all!=0:
        one_person=+1
else:
        pass
print(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split('')
friends_all=friends[0]
cakes=input()
cakes.split('')
cakes_amount(sum(cakes))
person=friends+1
one_person=cakes_amount//person
if cakes_amount%person==0:
        pass
else:
        one_person+=1
preint(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split('')
friends_all=friends[0]
cakes=input()
cakes.split('')
cakes_amount(sum(cakes))
person=friends+1
one_person=cakes_amount//person
if cakes_amount%person==0:
        pass
else:
        one_person+=1
print(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
cakes=input()
cakes.split(' ')
cakes_amount(sum(cakes))
person=friends+1
one_person=cakes_amount//person
if cakes_amount%person==0:
        pass
else:
        one_person+=1
print(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split(' ')
friends_all=friends[0]
friends_cakes=friends[1]
cakes=input()
cakes.split(' ')
cakes_amount=0
for a in cakes:
        cakes_amount+=a

person=friends+1
one_person=cakes_amount//person
if cakes_amount%person==0:
        pass
else:
        one_person+=1
print(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)

Buggy python submission (verdict: Runtime Error):
friends=input()
friends.split('')
friends_all=friends[0]
friends_cakes=friends[1]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split(''):
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)



Fixed submission:
friends=input()
friends=friends.split()
friends_all=friends[0]
person=int(friends_all)+1
cakes=input()
cakes_amount=0
for a in cakes.split():
        cakes_amount+=int(a)
one_person=cakes_amount//person

if cakes_amount%person!=0:
        one_person+=1
else:
        pass
print(one_person)