Given N intervals of the form [L,R] .
Removal cost of an interval is defined as the number of intervals with which it overlaps other than itself.
Among the removal cost of all given intervals, find the minimum possible removal cost.
Input Format:
Output Format:
Print an integer corresponding to minimum removal cost among N intervals.
Constraints
1≤N≤1051≤L≤R≤105
Removal cost for interval 1 is 1 because it overlap with only interval 2.