{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e\r\n\t\u003cimg align\u003d\"right\" src\u003d\"http://uva.onlinejudge.org/external/108/p10812.jpg\" /\u003e\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u003cspan data-scayt_word\u003d\"Superbowl\" data-scaytid\u003d\"1\"\u003eSuperbowl\u003c/span\u003e Sunday is nearly here. In order to pass the time waiting for the half-time commercials and wardrobe malfunctions, the local hackers have organized a betting pool on the game. Members place their bets on the sum of the two final scores, or on the absolute difference between the two scores.\u003c/p\u003e\r\n\u003cp\u003e\r\n\tGiven the winning numbers for each type of bet, can you deduce the final scores?\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tThe first line of input contains\u0026nbsp;\u003ci\u003en\u003c/i\u003e, the number of test cases.\u0026nbsp;\u003ci\u003en\u003c/i\u003e\u0026nbsp;lines follow, each representing a test case. Each test case gives\u0026nbsp;\u003ci\u003es\u003c/i\u003e\u0026nbsp;and\u0026nbsp;\u003ci\u003ed\u003c/i\u003e, non-negative integers representing the sum and (absolute) difference between the two final scores.\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e\r\n\t\u0026nbsp;For each test case, output a line giving the two final scores, largest first. If there are no such scores, output a line containing \u0026quot;impossible\u0026quot;. Recall that football scores are always non-negative integers.\u003c/p\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e\r\n2\r\n40 20\r\n20 40\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e\r\n30 10\r\nimpossible\u003c/pre\u003e"}}]}