
The streets of Manhattan in New York form a grid, so a taxi travels only along the north, south, east and west directions. The distance from one intersection to another measured this way is called the taxicab distance, or the Manhattan distance. Hermann Minkowski first studied this form of geometry in 19th century Germany.
Suppose Manhattan is a 100km x 100km grid of streets whose blocks measure 1km x 1km. If someone waits for a taxi at the intersection (0,0) and one taxi stands at the intersection (100,100), the Manhattan distance between them is 200km. If the person waits at (100,100) and the taxi stands at (0,0), the Manhattan distance is still 200km.
Many taxis drive around Manhattan. Print the position of the taxi closest to the intersection where you are waiting.