@@ -0,0 +1,403 @@
+from collections import namedtuple%0A%0A%0Anumber_of_students = int(input().strip())%0Acolumn_names = input().strip().split()%0Astudent = namedtuple('student', column_names)%0Astudents = %5B%5D%0A%0Afor i in range(number_of_students):%0A    students.append(student(*input().strip().split()))%0A%0Asum_of_all_marks = sum(%5Bint(student.MARKS) for student in students%5D)%0Aaverage = sum_of_all_marks / number_of_students%0Aprint(average)%0A

Solve namedtuple