{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"Consider equations having the following form:\r\u003cbr\u003ea1x1\u003csup\u003e3\u003c/sup\u003e+ a2x2\u003csup\u003e3\u003c/sup\u003e+ a3x3\u003csup\u003e3\u003c/sup\u003e+ a4x4\u003csup\u003e3\u003c/sup\u003e+ a5x5\u003csup\u003e3\u003c/sup\u003e\u003d0\r\u003cbr\u003eThe coefficients are given integers from the interval [-50,50].\r\u003cbr\u003eIt is consider a solution a system (x1, x2, x3, x4, x5) that verifies the equation, xi∈[-50,50], xi !\u003d 0, any i∈{1,2,3,4,5}.\r\u003cbr\u003e\r\u003cbr\u003eDetermine how many solutions satisfy the given equation.\r\u003cbr\u003e"}},{"title":"Input","value":{"format":"HTML","content":"The only line of input contains the 5 coefficients a1, a2, a3, a4, a5, separated by blanks."}},{"title":"Output","value":{"format":"HTML","content":"The output will contain on the first line the number of the solutions for the given equation. "}},{"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\u003e37 29 41 43 47\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e654\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}