Question
PSP Endsem Evaluation
The PSP end-semester examination has concluded in SVYASA, and the instructors now want to finalize the results. There were total 14 questions in the exam.
For every question:
-
A correct answer gives a score of 10
-
An incorrect answer gives a score of 0
To account for fairness, the instructors decide to drop 2 questions and calculate the final score using the remaining 12 questions.
Your task is to help compute the final percentage (only the integer part) for a student (Best 12 out of 14) out of 100.
Input
The only line contains A list of 14 integers where each integer is either 0 or 10.
Output
Print a single integer representing the final score after dropping one question.
Example
Example 1
Input:
10 10 10 10 10 10 10 10 10 10 10 10 10 10
Output:
100
Explanation:
All answers are correct, but two questions must be dropped.
Final score = 12/12 × 100 = 100
Example 2
Input:
10 0 10 10 10 10 10 10 10 10 10 0 0 10
Output:
83
Explanation:
Student did 11 questions.
Final score = 11/12 × 100 = 83
Input:
10 10 10 10 10 10 10 10 10 10 10 10 10 10
Output:
100
Explanation:
All answers are correct, but two questions must be dropped.
Final score = 12/12 × 100 = 100
Example 2
Input:
10 0 10 10 10 10 10 10 10 10 10 0 0 10
Output:
83
Explanation:
Student did 11 questions.
Final score = 11/12 × 100 = 83