## Question 1

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 T ( 0 < T ≤ 10), the number of students who wrote the test, followed by N lines, which list their percentage scores.

### Input

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

### Output

Output the median score on the tests.

`4`
`79`
`95`
`24`
`78`

### Sample Output

`The median on the test is 78.5`

Point Value: 5
Time Limit: 2.00s
Memory Limit: 16M

Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3

• (0/0)
I tested my program with numerous values and the median is outputted correctly with one decimal place. Why is my program being deemed incorrect by the judge? Can someone assist me with this issue? Thank you.

• (0/0)

• (0/0)
I don't know why I'm getting invalid returns

• (1/0)
When you call input(), that returns a string. You need to convert that to a number manually.

• (0/0)
There is a much better solution. a = int(input("Text"))

• (1/1)
Can someone please tell me what my error is?!?!?!

• (1/0)
Unfortunately the statistics module was introduced in version 3.4, so it's not supported by the judge.

• (0/0)
I'm not sure what's wrong with my code.

• (1/0)

• (0/0)
Exactly as the name states.

• (2/1)
One decimal place only. If you add anymore, the judge marks it as incorrect.

• (0/0)
Seriously? Okay, Thanks

• (0/0)
Now what am I doing wrong?

• (1/0)
all output must be formatted to one decimal place

• (0/0)
Pretty sure i did that, though

• (1/0)
setprecision rounds off, so it does not necessarily have to show one decimal place if the first decimal is 0. Use printf instead.