## Test Median

View as PDF

Points: 5
Time limit: 1.0s
Memory limit: 16M

Problem type
##### Peg Test - March 9

Bobette was walking home one day, when she slipped on a banana peel. Of course, the papers that she was carrying flew everywhere. They were actually the test scores for her PEG students, arranged from highest to lowest, so that she would be able to find the median easily. Help Bobette calculate the median on the test (to one decimal place), given , the number of students who wrote the test, followed by lines, which list their percentage scores.

#### Input Specification

Input starts with , followed by the scores for tests on separate lines.

#### Output Specification

Output the median score on the tests.

#### Sample Input

4
79
95
24
78

#### Sample Output

The median on the test is 78.5