Introduction - If you have any usage issues, please Google them yourself
Description
N points on the plane to find the abscissa of the minimum point.
Input
The first line is a positive integer n (1 <= n <= 1000), said a total of n points.
The next n lines, each line two integers that represent horizontal and vertical coordinates of each point.
Output
Output abscissa of the minimum point of abscissa and ordinate, if the abscissa of the minimum point, only the output of which the vertical axis the smallest point.
Sample Input
5
52
23
24
32
41
Sample Output
23