The coordinates of n points are given on a plane. Print them in increasing order of sum of coordinates. In the case of equal sum of point coordinates sort the points in increasing order of abscissa.
Each line contains the pair of numbers x,y (0≤x,y≤109) — the coordinates of one point. The number of dots does not exceed 105.
Print the points coordinates in ascending order of the sum of coordinates. Print the coordinates of each point on a separate line.