function err = KB9Fs(x)
%

F(1) = -0.75684+(1-x(1));
F(2) = -0.99993+(1-x(3))+x(1)+x(2)+x(5)-(1-x(3))*x(1)-(1-x(3))*x(2)-(1-x(3))*x(5)-x(1)*x(2)-x(1)*x(5)-x(2)*x(5)+(1-x(3))*x(1)*x(2)+(1-x(3))*x(1)*x(5)+(1-x(3))*x(2)*x(5)+x(1)*x(2)*x(5)-(1-x(3))*x(1)*x(2)*x(5);
F(3) = -0.95019+(1-x(3));
F(4) = -0.8968+(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(5) = -0.99892+(1-x(4))+(1-x(1))+x(3)+x(5)-(1-x(4))*(1-x(1))-(1-x(4))*x(3)-(1-x(4))*x(5)-(1-x(1))*x(3)-(1-x(1))*x(5)-x(3)*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(1))*x(3)*x(5)-(1-x(4))*(1-x(1))*x(3)*x(5);
F(6) = -0.98406+(1-x(5))+(1-x(3))+x(2)-(1-x(5))*(1-x(3))-(1-x(5))*x(2)-(1-x(3))*x(2)+(1-x(5))*(1-x(3))*x(2);
F(7) = -0.99996+(1-x(4))+(1-x(3))+(1-x(2))+(1-x(1))+x(5)-(1-x(4))*(1-x(3))-(1-x(4))*(1-x(2))-(1-x(4))*(1-x(1))-(1-x(4))*x(5)-(1-x(3))*(1-x(2))-(1-x(3))*(1-x(1))-(1-x(3))*x(5)-(1-x(2))*(1-x(1))-(1-x(2))*x(5)-(1-x(1))*x(5)+(1-x(4))*(1-x(3))*(1-x(2))+(1-x(4))*(1-x(3))*(1-x(1))+(1-x(4))*(1-x(3))*x(5)+(1-x(4))*(1-x(2))*(1-x(1))+(1-x(4))*(1-x(2))*x(5)+(1-x(4))*(1-x(1))*x(5)+(1-x(3))*(1-x(2))*(1-x(1))+(1-x(3))*(1-x(2))*x(5)+(1-x(3))*(1-x(1))*x(5)+(1-x(2))*(1-x(1))*x(5)-(1-x(4))*(1-x(3))*(1-x(2))*(1-x(1))-(1-x(4))*(1-x(3))*(1-x(2))*x(5)-(1-x(4))*(1-x(3))*(1-x(1))*x(5)-(1-x(4))*(1-x(2))*(1-x(1))*x(5)-(1-x(3))*(1-x(2))*(1-x(1))*x(5)+(1-x(4))*(1-x(3))*(1-x(2))*(1-x(1))*x(5);
F(8) = -0.9511+(1-x(1))+x(3)+x(4)-(1-x(1))*x(3)-(1-x(1))*x(4)-x(3)*x(4)+(1-x(1))*x(3)*x(4);
F(9) = -0.99408+x(5);
F(10) = -0.98789+(1-x(3))+(1-x(1))-(1-x(3))*(1-x(1));
F(11) = -0.99819+x(2)+x(3)+x(5)-x(2)*x(3)-x(2)*x(5)-x(3)*x(5)+x(2)*x(3)*x(5);
F(12) = -0.97353+(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(13) = -0.99619+(1-x(2))+x(3)+x(5)-(1-x(2))*x(3)-(1-x(2))*x(5)-x(3)*x(5)+(1-x(2))*x(3)*x(5);
F(14) = -0.99927+(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);
F(15) = -0.99285+(1-x(3))+(1-x(2))+x(4)-(1-x(3))*(1-x(2))-(1-x(3))*x(4)-(1-x(2))*x(4)+(1-x(3))*(1-x(2))*x(4);
F(16) = -0.98946+(1-x(3))+x(4)-(1-x(3))*x(4);
err = norm(F);
