function err = KB52Fs(x)
%

F(1) = -0.95834+(1-x(4))+x(1)+x(5)-(1-x(4))*x(1)-(1-x(4))*x(5)-x(1)*x(5)+(1-x(4))*x(1)*x(5);
F(2) = -0.73581+(1-x(2))+x(1)+x(3)-(1-x(2))*x(1)-(1-x(2))*x(3)-x(1)*x(3)+(1-x(2))*x(1)*x(3);
F(3) = -0.9886+(1-x(4))+(1-x(1))+x(2)+x(3)+x(5)-(1-x(4))*(1-x(1))-(1-x(4))*x(2)-(1-x(4))*x(3)-(1-x(4))*x(5)-(1-x(1))*x(2)-(1-x(1))*x(3)-(1-x(1))*x(5)-x(2)*x(3)-x(2)*x(5)-x(3)*x(5)+(1-x(4))*(1-x(1))*x(2)+(1-x(4))*(1-x(1))*x(3)+(1-x(4))*(1-x(1))*x(5)+(1-x(4))*x(2)*x(3)+(1-x(4))*x(2)*x(5)+(1-x(4))*x(3)*x(5)+(1-x(1))*x(2)*x(3)+(1-x(1))*x(2)*x(5)+(1-x(1))*x(3)*x(5)+x(2)*x(3)*x(5)-(1-x(4))*(1-x(1))*x(2)*x(3)-(1-x(4))*(1-x(1))*x(2)*x(5)-(1-x(4))*(1-x(1))*x(3)*x(5)-(1-x(4))*x(2)*x(3)*x(5)-(1-x(1))*x(2)*x(3)*x(5)+(1-x(4))*(1-x(1))*x(2)*x(3)*x(5);
F(4) = -0.86854+(1-x(5))+(1-x(4))+(1-x(1))+x(2)+x(3)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(1))-(1-x(5))*x(2)-(1-x(5))*x(3)-(1-x(4))*(1-x(1))-(1-x(4))*x(2)-(1-x(4))*x(3)-(1-x(1))*x(2)-(1-x(1))*x(3)-x(2)*x(3)+(1-x(5))*(1-x(4))*(1-x(1))+(1-x(5))*(1-x(4))*x(2)+(1-x(5))*(1-x(4))*x(3)+(1-x(5))*(1-x(1))*x(2)+(1-x(5))*(1-x(1))*x(3)+(1-x(5))*x(2)*x(3)+(1-x(4))*(1-x(1))*x(2)+(1-x(4))*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(4)+(1-x(1))*x(3)*x(5)+(1-x(1))*x(4)*x(5)+x(3)*x(4)*x(5)-(1-x(2))*(1-x(1))*x(3)*x(4)-(1-x(2))*(1-x(1))*x(3)*x(5)-(1-x(2))*(1-x(1))*x(4)*x(5)-(1-x(2))*x(3)*x(4)*x(5)-(1-x(1))*x(3)*x(4)*x(5)+(1-x(2))*(1-x(1))*x(3)*x(4)*x(5);
F(14) = -0.85254+(1-x(5))+x(1)+x(4)-(1-x(5))*x(1)-(1-x(5))*x(4)-x(1)*x(4)+(1-x(5))*x(1)*x(4);
F(15) = -0.99492+(1-x(2))+x(1)+x(4)+x(5)-(1-x(2))*x(1)-(1-x(2))*x(4)-(1-x(2))*x(5)-x(1)*x(4)-x(1)*x(5)-x(4)*x(5)+(1-x(2))*x(1)*x(4)+(1-x(2))*x(1)*x(5)+(1-x(2))*x(4)*x(5)+x(1)*x(4)*x(5)-(1-x(2))*x(1)*x(4)*x(5);
F(16) = -0.90341+x(1)+x(2)+x(4)-x(1)*x(2)-x(1)*x(4)-x(2)*x(4)+x(1)*x(2)*x(4);
F(17) = -0.58876+x(1)+x(2)-x(1)*x(2);
F(18) = -0.98793+(1-x(5))+(1-x(4))+(1-x(3))+x(1)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(3))-(1-x(5))*x(1)-(1-x(4))*(1-x(3))-(1-x(4))*x(1)-(1-x(3))*x(1)+(1-x(5))*(1-x(4))*(1-x(3))+(1-x(5))*(1-x(4))*x(1)+(1-x(5))*(1-x(3))*x(1)+(1-x(4))*(1-x(3))*x(1)-(1-x(5))*(1-x(4))*(1-x(3))*x(1);
F(19) = -0.99236+(1-x(4))+(1-x(3))+(1-x(2))-(1-x(4))*(1-x(3))-(1-x(4))*(1-x(2))-(1-x(3))*(1-x(2))+(1-x(4))*(1-x(3))*(1-x(2));
F(20) = -0.93795+(1-x(2))+x(1)+x(3)+x(4)-(1-x(2))*x(1)-(1-x(2))*x(3)-(1-x(2))*x(4)-x(1)*x(3)-x(1)*x(4)-x(3)*x(4)+(1-x(2))*x(1)*x(3)+(1-x(2))*x(1)*x(4)+(1-x(2))*x(3)*x(4)+x(1)*x(3)*x(4)-(1-x(2))*x(1)*x(3)*x(4);
F(21) = -0.079811+(1-x(5));
F(22) = -0.97837+(1-x(2))+x(1)+x(5)-(1-x(2))*x(1)-(1-x(2))*x(5)-x(1)*x(5)+(1-x(2))*x(1)*x(5);
F(23) = -0.10294+(1-x(5))+x(3)-(1-x(5))*x(3);
F(24) = -0.79266+(1-x(4))+(1-x(2))+x(1)-(1-x(4))*(1-x(2))-(1-x(4))*x(1)-(1-x(2))*x(1)+(1-x(4))*(1-x(2))*x(1);
F(25) = -0.99297+(1-x(5))+(1-x(4))+(1-x(3))+(1-x(2))-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(3))-(1-x(5))*(1-x(2))-(1-x(4))*(1-x(3))-(1-x(4))*(1-x(2))-(1-x(3))*(1-x(2))+(1-x(5))*(1-x(4))*(1-x(3))+(1-x(5))*(1-x(4))*(1-x(2))+(1-x(5))*(1-x(3))*(1-x(2))+(1-x(4))*(1-x(3))*(1-x(2))-(1-x(5))*(1-x(4))*(1-x(3))*(1-x(2));
F(26) = -0.80846+(1-x(1))+x(2)-(1-x(1))*x(2);
err = norm(F);
