Given
Constraints
Every integer in any of the sequences is between
Input Specification
The first line contains a single positive integer,
Each of the next
Output Specification
Output, on a single line, the median of the medians of the
Sample Input
Copy
3
1 2 3
4 5 6
7 8 9
Sample Output
Copy
5
Comments