"A weed is but an unloved flower." — Ella Wheeler Wilcox
In the town of Iași, everyone loves flowers. However, since people are poor, they can only afford one flower and one sprinkler per person. Flowers can be represented as points in a 2-dimensional plane, the -th person's flower being at coordinates . When placing a sprinkler at the real coordinates , with a radius of , it will water all the flowers at coordinates that have the manhattan distance to the sprinkler strictly smaller than (i.e. needs to hold).
Every person wants to set the radius of their sprinkler as big as possible, but they want to place it in such a way that it waters only their flower.
Task
Determine, for each person, the greatest radius such that they can place a sprinkler of that radius that waters their flower and no other flower.
Input data
The first line contains an integer — the number of flowers (and people respectively).
The -th line () contains two integers separated by a space, and , representing the coordinates of the -th person's flower.
Output data
On the -th line, output a real number representing the answer for the -th person. The answer will be considered correct if its absolute or relative error doesn't exceed . If the radius can be arbitrarily large for a person, output .
Constraints and clarifications
- The points in the input are pairwise distinct.
Example
stdin
5
5 5
5 6
6 5
4 5
5 4
stdout
1
-1
-1
-1
-1