{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eYour task is to find how many complex numbers \u003ci\u003ex\u003c/i\u003e\r\nsatisfy the following two conditions: \u003ci\u003ex\u003c/i\u003e\u003csup\u003e\u003ci\u003en\u003c/i\u003e\u003c/sup\u003e \u003d \u003ci\u003ea\u003c/i\u003e + \u003ci\u003ebi\u003c/i\u003e and \u003ci\u003ex\u003c/i\u003e\u003csup\u003e\u003ci\u003em\u003c/i\u003e\u003c/sup\u003e \u003d \u003ci\u003ec\u003c/i\u003e + \u003ci\u003edi\u003c/i\u003e.\u003c/div\u003e\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eThe first line of input contains integers \u003ci\u003ea\u003c/i\u003e, \u003ci\u003eb\u003c/i\u003e, and \u003ci\u003en\u003c/i\u003e\r\n(−10\u003csup\u003e18\u003c/sup\u003e ≤ \u003ci\u003ea\u003c/i\u003e, \u003ci\u003eb\u003c/i\u003e ≤ 10\u003csup\u003e18\u003c/sup\u003e; 1 ≤ \u003ci\u003en\u003c/i\u003e ≤ 100).\r\nThe second line contains integers \u003ci\u003ec\u003c/i\u003e, \u003ci\u003ed\u003c/i\u003e and \u003ci\u003em\u003c/i\u003e\r\n(−10\u003csup\u003e18\u003c/sup\u003e ≤ \u003ci\u003ec\u003c/i\u003e, \u003ci\u003ed\u003c/i\u003e ≤ 10\u003csup\u003e18\u003c/sup\u003e; 1 ≤ \u003ci\u003em\u003c/i\u003e ≤ 100).\r\nIt is guaranteed that \u003ci\u003ea\u003c/i\u003e\u003csup\u003e2\u003c/sup\u003e + \u003ci\u003eb\u003c/i\u003e\u003csup\u003e2\u003c/sup\u003e \u0026gt; 0 and \u003ci\u003ec\u003c/i\u003e\u003csup\u003e2\u003c/sup\u003e + \u003ci\u003ed\u003c/i\u003e\u003csup\u003e2\u003c/sup\u003e \u0026gt; 0.\u003c/div\u003e\u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cdiv class\u003d\"problem_par\"\u003e\u003cdiv class\u003d\"problem_par_normal\"\u003eOutput one integer: the answer to the problem.\u003c/div\u003e\u003c/div\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\u003e0 1 2\r\n1 0 2\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e0\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003cbr\u003e\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\u003e1 0 2\r\n1 0 4\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}