{"problem":{"name":"Plus Minus","description":{"content":"Takahashi has two integers $X$ and $Y$. He computed $X + Y$ and $X - Y$, and the results were $A$ and $B$, respectively. Now he cannot remember what $X$ and $Y$ were. Find $X$ and $Y$ for him.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"arc104_a"},"statements":[{"statement_type":"Markdown","content":"Takahashi has two integers $X$ and $Y$.\nHe computed $X + Y$ and $X - Y$, and the results were $A$ and $B$, respectively.\nNow he cannot remember what $X$ and $Y$ were. Find $X$ and $Y$ for him.\n\n## Constraints\n\n*   $-100 \\leq A, B \\leq 100$\n*   For the given integers $A$ and $B$, there uniquely exist integers $X$ and $Y$ such that $X + Y = A$ and $X - Y = B$.\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"arc104_a","tags":[],"sample_group":[["2 -2","0 2\n\nIf $X = 0$ and $Y = 2$, they match the situation: $0 + 2 = 2$ and $0 - 2 = -2$."],["3 1","2 1"]],"created_at":"2026-03-03 11:01:14"}}