Buggy python submission (verdict: Runtime Error):
n = int(input().split())
list = map(int, input()split())

sum = 0
for i in range(n)
    sum += list[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input().split())
list[] = map(int, input()split())

sum = 0
for i in range(n)
    sum += list[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input().split())
list = map(int, input().split())

sum = 0
for i in range(n)
    sum += list[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input().split())
list = map(int, input().split())

sum = 0
for i in range(n):
    sum += list[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = input().split()
list = map(int, input().split())

sum = 0
for i in range(n):
    sum += list[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input().split())
list = map(int, input().split())

sum = 0
for i in range(n):
    sum += list[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input().split())
list = list(map(int, input().split()))

sum = 0
for i in range(n):
    sum += list[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input().split())
l = list(map(int, input().split()))

sum = 0
for i in range(n):
    sum += l[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input())
l = list(map(int, input().split()))

sum = 0
for i in range(n):
    sum += l[i]

print(min(list), max(list), sum)


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input())
l = list(map(int, input().split()))

sum = 0
for i in range(n):
    sum += l[i]

print(min(l), max(l), sum(l))


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input())
l = list(map(int, input().split()))

sum = 0
for i in range(n):
    sum += l[i]

print(min(l), max(l), sum(l))


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
n = int(input())
l = list(map(int, input().split()))

sum = 0
for i in range(n):
    sum += l[i]

print(sum(l))


Fixed submission:
#
# 4d
#


def main():
    n = int(input())
    a = list(map(int, input().split()))
    print(f"{min(a)} {max(a)} {sum(a)}")


if __name__ == '__main__':
    main()