Buggy python submission (verdict: Runtime Error):
s=0
a=[]
for _ in range(int(input())):
    a.append(int(input()))
    s+=a[_]
print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
s=0
a=[]
for _ in range(int(input())):
    a.append(int(input()))
    s+=a[_]
print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
input()
s = 0
a = list(map(int,input().split()))
for u in a:
    s=s+a
print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
input()
s = 0
a = input()
a = a.split(" ")
for u in a:
    s=s+int(a)
print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
s=input()
s = 0
a = input()
a = a.split(" ")
for u in a:
    s=s+int(a)
print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):

input()
s = 0
a = input()
a = a.split(" ")
for u in a:
    s=s+int(a)
print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):

input()
s = 0
a = input()
a = a.split(" ")
for u in a:
    s=s+int(a)

print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
input()
s = 0
a = input()
a = map(int,a.split(" "))
for u in a:
    s=s+u

print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
input()
s = 0
a = input()
a = a.split(" ")
a = map(int,a)
for u in a:
    s=s+u

print(min(a),max(a),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
input()
s = 0
a = input()
a = a.split(" ")
b = map(int,a)
for u in b:
    s=s+u

print(min(b),max(b),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
input()
s = 0
a = input()
b = a.split(" ")
c = map(int,b)
for u in c:
    s=s+u

print(min(c),max(c),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(n):
    c.append(int(b[i])
for u in c:
    s=s+u

print(min(c),max(c),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(n):
    c.append(int(b[i]))
for u in c:
    s=s+u

print(min(c),max(c),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)

Buggy python submission (verdict: Runtime Error):
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(n):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)


Fixed submission:
n = input()
s = 0
a = input()
b = a.split(" ")
c = []
for i in range(int(n)):
    c.append(int(b[i]))

for u in c:
    s=s+u

print(min(c),max(c),s)