{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"Given the value of **a+b** and **ab** you will have to find the value of **a\u003csup\u003en\u003c/sup\u003e+b\u003csup\u003en\u003c/sup\u003e**. **a** and **b** not necessarily have to be real numbers."}},{"title":"Input","value":{"format":"MD","content":"Input starts with an integer **T (\u0026#8804; 10000)**, denoting the number of test cases.\n\nEach case contains three non-negative integers, **p, q** and **n**. Here **p** denotes the value of **a+b** and **q** denotes the value of **ab**. Each number in the input file fits in a signed 32-bit integer. There will be no such input so that you have to find the value of **0\u003csup\u003e0\u003c/sup\u003e**."}},{"title":"Output","value":{"format":"MD","content":"For each test case, print the case number and **(a\u003csup\u003en\u003c/sup\u003e + b\u003csup\u003en\u003c/sup\u003e)** modulo **2\u003csup\u003e64\u003c/sup\u003e**."}},{"title":"Sample","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\u003e2\n10 16 2\n7 12 3\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eCase 1: 68\nCase 2: 91\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}