Selection of MPCS exams include a fitness test which is conducted on ground. There will be a batch of 3 rounds.
You need to record their oxygen level after every round. After trainees are finished with all rounds, calculate for each trainee his average oxygen level over the 3 rounds and select the one with the highest average oxygen level as the most fit trainee. If more than one trainee attains the same highest average level, they all need to be selected.
Display the most fit trainee ( or trainees) and the highest average oxygen level.
Note:
1. The oxygen value entered should not be accepted if it is not the range between 1 and 100.
2. If the calculated maximum average oxygen value of trainees is below 70 then declare the trainees as unfit.
3. Average Oxygen values should be rounded.
Test Case 1
Input :
95
92
95
92
90
92
90
92
90
Output :
Trainee Number : 1
Trainee Number : 3
Note :
Input should be 9 integer values representing oxygen levels entered in order as
Round 1:
Oxygen value of trainee 1
Oxygen value of trainee 2
Oxygen value of trainee 3
Round 2:
Oxygen value of trainee 1
Oxygen value of trainee 2
Oxygen value of trainee 3
Round 3:
Oxygen value of trainee 1
Oxygen value of trainee 2
Oxygen value of trainee 3