{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"Master Mind KongMing gave Fei Zhang a secrete master plan stashed in a pocket. The plan instructs how to deploy soldiers on the four corners of the city wall. Unfortunately,\nwhen Fei opened the pocket he found there are only four numbers written in dots on a piece of sheet. The numbers form a $2\\times 2$ matrix, but Fei didn\u0027t know the correct\ndirection to hold the sheet. What a pity!\n\nGiven two secrete master plans. The first one is the master\u0027s original plan. The second one is the plan opened by Fei. As KongMing had many pockets to hand out, he might give Fei the wrong pocket. Determine if Fei receives the right pocket.\n\n![title](CDN_BASE_URL/0a557c86fe9d8a468a85895f60c54c6b?v\u003d1715918134)"}},{"title":"Input","value":{"format":"MD","content":"The first line of the input gives the number of test cases, $T$($1\\leq T\\leq 10^4$). $T$ test cases follow. Each test case contains $4$ lines. Each line contains two integers\n$a_{i0}$ and $a_{i1}$ ($1\\leq a_{i0}, a_{i1}\\leq 100$). The first two lines stands for the original plan, the $3_{rd}$ and $4_{th}$ line stands for the plan Fei opened."}},{"title":"Output","value":{"format":"MD","content":"For each test case, output one line containing `Case #x: y`, where $x$ is the test case number (starting from $1$) and $y$ is either \"`POSSIBLE`\" or \"`IMPOSSIBLE`\"\n(quotes for clarity)."}},{"title":"Sample 1","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e4\n1 2\n3 4\n1 2\n3 4\n\n1 2\n3 4\n3 1\n4 2\n\n1 2\n3 4\n3 2\n4 1\n\n1 2\n3 4\n4 3\n2 1\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eCase #1: POSSIBLE\nCase #2: POSSIBLE\nCase #3: IMPOSSIBLE\nCase #4: POSSIBLE\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}