x = int(input('people?'))
c = list()
b = list()


def a():
    c.append(input('name?'))
    b.append(int(input('score?')))


for i in range(1, x + 1):
    a()
print('max:', 'name:', max(c), 'score:', max(b))
print('min:', 'name:', min(c), 'score:', min(b))
print('average:', sum(b) / x)

c55c994e49c4bf198bb91296d6ff9bce30e69f8b
<mask token>

<mask token>


def a():
    c.append(input('name?'))
    b.append(int(input('score?')))


<mask token>

<mask token>


def a():
    c.append(input('name?'))
    b.append(int(input('score?')))


for i in range(1, x + 1):
    a()
print('max:', 'name:', max(c), 'score:', max(b))
print('min:', 'name:', min(c), 'score:', min(b))
print('average:', sum(b) / x)

x = int(input('people?'))
c = list()
b = list()


def a():
    c.append(input('name?'))
    b.append(int(input('score?')))


for i in range(1, x + 1):
    a()
print('max:', 'name:', max(c), 'score:', max(b))
print('min:', 'name:', min(c), 'score:', min(b))
print('average:', sum(b) / x)
