Buggy python submission (verdict: Runtime Error):
X=[int(input()) for i in range(5)]
Y=[]
for i in X:
  Y.append(-(-x//10)*10)
print(sum(Y)-(max(Y-X)))

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
S=sum(list)
Z=0
for x in list:
  y = -(-x//10)*10
  Z=(y-x, Z)
  print(S-Z)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=sum(list)
max=0
for x in list:
  y = -(-x//10)*10
  max=(y-x, max)
  print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=sum(list)
max=0
for x in list:
  y = -(-x//10)*10
  max=(y-x, max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum/max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
  print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(int(sum-max))

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=((y-x), max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
list=[int(input()) for i in range(5)]
for i in list:
  x = int(input()）
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
for i in range(5):

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)*10

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)
  sum+=y
  max=(y-x, max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x)//10
  sum+=y
  max=(y-x, max)
print(sum-max)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
min=9
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, min)
    if x==min:

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
min=9
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, min)
    if x==min:
      sum+=y
    else:
      sum+=(y+10-x)
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y
    else:
      sum+=(y+10-x)
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y
    else:
      sum+=y+10-x
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
min=10
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y
    else:
      sum+=y+10-x
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
min=10
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  min != 0
  min=min(min, x)
  if x==min:
    sum+=y
  else:
    sum+=y+10-x
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
min=10
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(min, x)
  if x==min:
    sum+=y
  else:
    sum+=y+x
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(10, x)
  if x==min:
    sum+=y
  else:
    sum+=y+x
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(min, 10)
  if x=min:
    sum+=y
  else:
    sum+=y+x
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy python submission (verdict: Runtime Error):
x=10
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(min, x)
  if x=min:
    sum+=y
  else:
    sum+=y+x
print(sum)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))