### Instruction: The average age of 17 students of a class is 17 years. Out of these, the average age of 5 students is 14 years and that of the other 9 students is 16 years, The age of the 17th student is
Answer Choices: (A) 62 (B) 66 (C) 18 (D) 75 (E) 12 Let's write a Python program to solve it.### Response: answers = ['A', 'B', 'C', 'D', 'E']
total_students = 17
average_age = 17
total_age = total_students * average_age

students_group1 = 5
average_age_group1 = 14
total_age_group1 = students_group1 * average_age_group1

students_group2 = 9
average_age_group2 = 16
total_age_group2 = students_group2 * average_age_group2

age_17th_student = total_age - total_age_group1 - total_age_group2

options = [62, 66, 18, 75, 12]
index = options.index(age_17th_student)
print(answers[index])