CodeLab Academy 📞 9936 6696
← List Python · Level 7: Lists Code · 70 points ← #620 #622 →

#621. Median (with 1 digit after the decimal point)

You are given a list of integers. **Median (with 1 digit after the decimal point)**. If there is no second value, print `None`. If the answer has several numbers, separate them with spaces. ### Input The first line has n, the second line has n integers separated by spaces. ### Output The answer.

Examples

Input
3
11 -20 -16
Output
-16.0
Input
8
-18 -10 -7 -7 -18 19 -10 -2
Output
-8.5

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!