You are given a positive integer
The lower median of a sequence of
Input Specification
The first and only line of input contains the integer
Constraints
Subtask 1 [10%]
Subtask 2 [20%]
Subtask 3 [20%]
Subtask 4 [25%]
Subtask 5 [25%]
Output Specification
Output one number: the lower median in the problem statement.
Sample Input 1
Copy
7
Sample Output 1
Copy
1
Explanation for Sample Output 1
The sequence
Sample Input 2
Copy
50
Sample Output 2
Copy
6
Comments