Coordinates of points are given on a plane. Sort these points in ascending order of the sum of their coordinates. If the sums are equal, then sort in ascending order based on the abscissa (x-coordinate). Use the vector003cpair003cint, int003e 003e structure.
Until the end of the file, the input contains the coordinates x, y~(0 \le x, y \le 10^9). The total number of points does not exceed 10^5.
Output the coordinates of the points sorted by the sum of the coordinates, each on a separate line.
Example 1
Example 2