Introduction - If you have any usage issues, please Google them yourself
Title Description: The first line to enter a number of n, 1 < = n < = 1000, the following data input n rows, each row has two numbers, respectively, XY. Output a set of XY, the set of data is all data x minimum and smallest in the case of x equal y.