function err = KB89Fs(x)
%

F(1) = -0.84932+x(1)+x(5)-x(1)*x(5);
F(2) = -0.95546+(1-x(5))+(1-x(2))+(1-x(1))+x(3)-(1-x(5))*(1-x(2))-(1-x(5))*(1-x(1))-(1-x(5))*x(3)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(1))*x(3)+(1-x(5))*(1-x(2))*(1-x(1))+(1-x(5))*(1-x(2))*x(3)+(1-x(5))*(1-x(1))*x(3)+(1-x(2))*(1-x(1))*x(3)-(1-x(5))*(1-x(2))*(1-x(1))*x(3);
F(3) = -0.96227+(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(4) = -0.96395+(1-x(2))+x(4)-(1-x(2))*x(4);
F(5) = -0.84397+(1-x(2));
F(6) = -0.99707+(1-x(3))+(1-x(2))+x(4)+x(5)-(1-x(3))*(1-x(2))-(1-x(3))*x(4)-(1-x(3))*x(5)-(1-x(2))*x(4)-(1-x(2))*x(5)-x(4)*x(5)+(1-x(3))*(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