n=int(input("enter the range:"))
dct={}
for i in range(n):
    
    name,*marks=input("enter the name and marks:").split()
    dct[name]=marks
qu=input("enter the quary name:")
tt=dct[qu]
print('%.2f'%(sum(map(eval,tt))/len(tt)))

6ff04d628a96341654341cd6f8b04ed406c946a0
<mask token>

<mask token>
for i in range(n):
    name, *marks = input('enter the name and marks:').split()
    dct[name] = marks
<mask token>
print('%.2f' % (sum(map(eval, tt)) / len(tt)))

n = int(input('enter the range:'))
dct = {}
for i in range(n):
    name, *marks = input('enter the name and marks:').split()
    dct[name] = marks
qu = input('enter the quary name:')
tt = dct[qu]
print('%.2f' % (sum(map(eval, tt)) / len(tt)))

n=int(input("enter the range:"))
dct={}
for i in range(n):
    
    name,*marks=input("enter the name and marks:").split()
    dct[name]=marks
qu=input("enter the quary name:")
tt=dct[qu]
print('%.2f'%(sum(map(eval,tt))/len(tt)))
