{"problem":{"name":"Four Points","description":{"content":"There is a rectangle in the $xy$\\-plane. Each edge of this rectangle is parallel to the $x$\\- or $y$\\-axis, and its area is not zero. Given the coordinates of three of the four vertices of this rectan","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc246_a"},"statements":[{"statement_type":"Markdown","content":"There is a rectangle in the $xy$\\-plane. Each edge of this rectangle is parallel to the $x$\\- or $y$\\-axis, and its area is not zero.\nGiven the coordinates of three of the four vertices of this rectangle, $(x_1, y_1)$, $(x_2, y_2)$, and $(x_3, y_3)$, find the coordinates of the other vertex.\n\n## Constraints\n\n*   $-100 \\leq x_i, y_i \\leq 100$\n*   There uniquely exists a rectangle with all of $(x_1, y_1)$, $(x_2, y_2)$, $(x_3, y_3)$ as vertices, edges parallel to the $x$\\- or $y$\\-axis, and a non-zero area.\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$x_1$ $y_1$\n$x_2$ $y_2$\n$x_3$ $y_3$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc246_a","tags":[],"sample_group":[["\\-1 -1\n-1 2\n3 2","3 -1\n\nThe other vertex of the rectangle with vertices $(-1, -1), (-1, 2), (3, 2)$ is $(3, -1)$."],["\\-60 -40\n-60 -80\n-20 -80","\\-20 -40"]],"created_at":"2026-03-03 11:01:13"}}