function err = KB99Fs(x)
%

F(1) = -0.57778+(1-x(5))+x(2)+x(4)-(1-x(5))*x(2)-(1-x(5))*x(4)-x(2)*x(4)+(1-x(5))*x(2)*x(4);
F(2) = -0.96378+(1-x(5))+(1-x(4))+(1-x(3))+x(1)+x(2)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(3))-(1-x(5))*x(1)-(1-x(5))*x(2)-(1-x(4))*(1-x(3))-(1-x(4))*x(1)-(1-x(4))*x(2)-(1-x(3))*x(1)-(1-x(3))*x(2)-x(1)*x(2)+(1-x(5))*(1-x(4))*(1-x(3))+(1-x(5))*(1-x(4))*x(1)+(1-x(5))*(1-x(4))*x(2)+(1-x(5))*(1-x(3))*x(1)+(1-x(5))*(1-x(3))*x(2)+(1-x(5))*x(1)*x(2)+(1-x(4))*(1-x(3))*x(1)+(1-x(4))*(1-x(3))*x(2)+(1-x(4))*x(1)*x(2)+(1-x(3))*x(1)*x(2)-(1-x(5))*(1-x(4))*(1-x(3))*x(1)-(1-x(5))*(1-x(4))*(1-x(3))*x(2)-(1-x(5))*(1-x(4))*x(1)*x(2)-(1-x(5))*(1-x(3))*x(1)*x(2)-(1-x(4))*(1-x(3))*x(1)*x(2)+(1-x(5))*(1-x(4))*(1-x(3))*x(1)*x(2);
F(3) = -0.60538+(1-x(1))+x(4)-(1-x(1))*x(4);
F(4) = -0.92485+(1-x(1))+x(2)+x(3)+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(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(1))*x(2)*x(3)*x(5);
F(5) = -0.8117+(1-x(5))+x(2)+x(3)+x(4)-(1-x(5))*x(2)-(1-x(5))*x(3)-(1-x(5))*x(4)-x(2)*x(3)-x(2)*x(4)-x(3)*x(4)+(1-x(5))*x(2)*x(3)+(1-x(5))*x(2)*x(4)+(1-x(5))*x(3)*x(4)+x(2)*x(3)*x(4)-(1-x(5))*x(2)*x(3)*x(4);
F(6) = -0.93463+(1-x(5))+(1-x(4))+x(1)+x(2)-(1-x(5))*(1-x(4))-(1-x(5))*x(1)-(1-x(5))*x(2)-(1-x(4))*x(1)-(1-x(4))*x(2)-x(1)*x(2)+(1-x(5))*(1-x(4))*x(1)+(1-x(5))*(1-x(4))*x(2)+(1-x(5))*x(1)*x(2)+(1-x(4))*x(1)*x(2)-(1-x(5))*(1-x(4))*x(1)*x(2);
F(7) = -0.97714+(1-x(4))+(1-x(3))+(1-x(1))+x(2)+x(5)-(1-x(4))*(1-x(3))-(1-x(4))*(1-x(1))-(1-x(4))*x(2)-(1-x(4))*x(5)-(1-x(3))*(1-x(1))-(1-x(3))*x(2)-(1-x(3))*x(5)-(1-x(1))*x(2)-(1-x(1))*x(5)-x(2)*x(5)+(1-x(4))*(1-x(3))*(1-x(1))+(1-x(4))*(1-x(3))*x(2)+(1-x(4))*(1-x(3))*x(5)+(1-x(4))*(1-x(1))*x(2)+(1-x(4))*(1-x(1))*x(5)+(1-x(4))*x(2)*x(5)+(1-x(3))*(1-x(1))*x(2)+(1-x(3))*(1-x(1))*x(5)+(1-x(3))*x(2)*x(5)+(1-x(1))*x(2)*x(5)-(1-x(4))*(1-x(3))*(1-x(1))*x(2)-(1-x(4))*(1-x(3))*(1-x(1))*x(5)-(1-x(4))*(1-x(3))*x(2)*x(5)-(1-x(4))*(1-x(1))*x(2)*x(5)-(1-x(3))*(1-x(1))*x(2)*x(5)+(1-x(4))*(1-x(3))*(1-x(1))*x(2)*x(5);
F(8) = -0.63426+x(5);
F(9) = -0.96693+(1-x(5))+(1-x(4))+x(1)+x(3)-(1-x(5))*(1-x(4))-(1-x(5))*x(1)-(1-x(5))*x(3)-(1-x(4))*x(1)-(1-x(4))*x(3)-x(1)*x(3)+(1-x(5))*(1-x(4))*x(1)+(1-x(5))*(1-x(4))*x(3)+(1-x(5))*x(1)*x(3)+(1-x(4))*x(1)*x(3)-(1-x(5))*(1-x(4))*x(1)*x(3);
F(10) = -0.98358+(1-x(5))+(1-x(3))+(1-x(2))+(1-x(1))+x(4)-(1-x(5))*(1-x(3))-(1-x(5))*(1-x(2))-(1-x(5))*(1-x(1))-(1-x(5))*x(4)-(1-x(3))*(1-x(2))-(1-x(3))*(1-x(1))-(1-x(3))*x(4)-(1-x(2))*(1-x(1))-(1-x(2))*x(4)-(1-x(1))*x(4)+(1-x(5))*(1-x(3))*(1-x(2))+(1-x(5))*(1-x(3))*(1-x(1))+(1-x(5))*(1-x(3))*x(4)+(1-x(5))*(1-x(2))*(1-x(1))+(1-x(5))*(1-x(2))*x(4)+(1-x(5))*(1-x(1))*x(4)+(1-x(3))*(1-x(2))*(1-x(1))+(1-x(3))*(1-x(2))*x(4)+(1-x(3))*(1-x(1))*x(4)+(1-x(2))*(1-x(1))*x(4)-(1-x(5))*(1-x(3))*(1-x(2))*(1-x(1))-(1-x(5))*(1-x(3))*(1-x(2))*x(4)-(1-x(5))*(1-x(3))*(1-x(1))*x(4)-(1-x(5))*(1-x(2))*(1-x(1))*x(4)-(1-x(3))*(1-x(2))*(1-x(1))*x(4)+(1-x(5))*(1-x(3))*(1-x(2))*(1-x(1))*x(4);
F(11) = -0.83811+(1-x(5))+(1-x(3))+(1-x(1))+x(2)-(1-x(5))*(1-x(3))-(1-x(5))*(1-x(1))-(1-x(5))*x(2)-(1-x(3))*(1-x(1))-(1-x(3))*x(2)-(1-x(1))*x(2)+(1-x(5))*(1-x(3))*(1-x(1))+(1-x(5))*(1-x(3))*x(2)+(1-x(5))*(1-x(1))*x(2)+(1-x(3))*(1-x(1))*x(2)-(1-x(5))*(1-x(3))*(1-x(1))*x(2);
F(12) = -0.2449+x(4);
F(13) = -0.86134+(1-x(5))+(1-x(3))+(1-x(1))+x(4)-(1-x(5))*(1-x(3))-(1-x(5))*(1-x(1))-(1-x(5))*x(4)-(1-x(3))*(1-x(1))-(1-x(3))*x(4)-(1-x(1))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2)*x(5)-(1-x(3))*x(1)*x(2)*x(5)+(1-x(4))*(1-x(3))*x(1)*x(2)*x(5);
F(18) = -0.97635+(1-x(3))+(1-x(2))+x(1)+x(4)-(1-x(3))*(1-x(2))-(1-x(3))*x(1)-(1-x(3))*x(4)-(1-x(2))*x(1)-(1-x(2))*x(4)-x(1)*x(4)+(1-x(3))*(1-x(2))*x(1)+(1-x(3))*(1-x(2))*x(4)+(1-x(3))*x(1)*x(4)+(1-x(2))*x(1)*x(4)-(1-x(3))*(1-x(2))*x(1)*x(4);
F(19) = -0.64861+(1-x(5))+(1-x(3))-(1-x(5))*(1-x(3));
F(20) = -0.99753+(1-x(4))+(1-x(2))+(1-x(1))+x(3)+x(5)-(1-x(4))*(1-x(2))-(1-x(4))*(1-x(1))-(1-x(4))*x(3)-(1-x(4))*x(5)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(2))*x(5)-(1-x(1))*x(3)-(1-x(1))*x(5)-x(3)*x(5)+(1-x(4))*(1-x(2))*(1-x(1))+(1-x(4))*(1-x(2))*x(3)+(1-x(4))*(1-x(2))*x(5)+(1-x(4))*(1-x(1))*x(3)+(1-x(4))*(1-x(1))*x(5)+(1-x(4))*x(3)*x(5)+(1-x(2))*(1-x(1))*x(3)+(1-x(2))*(1-x(1))*x(5)+(1-x(2))*x(3)*x(5)+(1-x(1))*x(3)*x(5)-(1-x(4))*(1-x(2))*(1-x(1))*x(3)-(1-x(4))*(1-x(2))*(1-x(1))*x(5)-(1-x(4))*(1-x(2))*x(3)*x(5)-(1-x(4))*(1-x(1))*x(3)*x(5)-(1-x(2))*(1-x(1))*x(3)*x(5)+(1-x(4))*(1-x(2))*(1-x(1))*x(3)*x(5);
err = norm(F);
