Buggy python submission (verdict: Runtime Error):
n = int(input())
table[n] = map(int,input().split())
print("{}{}{}".format(max(table[n],min(table[n],sum(table[n])))))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = map(int,input().split())
print("{}{}{}".format(max(table[n],min(table[n],sum(table[n])))))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = map(int,input().split())
print("{}{}{}".format(max(table[n],min(table[n],sum(table[n])))))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = map(int,input().split())
print("{} {} {}".format(max(table[n],min(table[n],sum(table[n])))))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = map(int,input().split())
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n])))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = map(int,input().split())
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n]))))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = input().split()
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n]))))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = input().split()
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n])))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(max(table[n]),min(table[n]),sum(table[n])))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(max(table),min(table),sum(table)))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = []
for i in range(n):
    table.append(input())
print("{} {} {}".format(max(table),min(table),sum(table)))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = []
for i in range(n):
    table.append(input())
    
print("{} {} {}".format(max(table),min(table),sum(table)))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [int.input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [int(input()) for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))


Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = list[int(input()) for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = list[for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = list[i for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = list[i for i in n]
print("{} {} {}".format(min(table),max(table),sum(table)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = list[i for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [input() for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
table = [int(input()) for i in range(n)]
print("{} {} {}".format(min(table),max(table),sum(table)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = [int(input()) for i in range(n)]
print("{} {} {}".format(min(a),max(a),sum(a)))



Fixed submission:
n = input()
table = list(map(int,input().split()))
print("{} {} {}".format(min(table),max(table),sum(table)))