function err = KB6Fs(x)
%

F(1) = -0.87022+(1-x(5))+(1-x(4))+(1-x(1))+x(2)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(1))-(1-x(5))*x(2)-(1-x(4))*(1-x(1))-(1-x(4))*x(2)-(1-x(1))*x(2)+(1-x(5))*(1-x(4))*(1-x(1))+(1-x(5))*(1-x(4))*x(2)+(1-x(5))*(1-x(1))*x(2)+(1-x(4))*(1-x(1))*x(2)-(1-x(5))*(1-x(4))*(1-x(1))*x(2);
F(2) = -0.948+(1-x(5))+(1-x(4))+(1-x(3))-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(3))-(1-x(4))*(1-x(3))+(1-x(5))*(1-x(4))*(1-x(3));
F(3) = -0.28387+x(1);
F(4) = -0.90251+x(4);
F(5) = -0.23309+x(2)+x(3)-x(2)*x(3);
F(6) = -0.96236+(1-x(5))+x(1)+x(3)+x(4)-(1-x(5))*x(1)-(1-x(5))*x(3)-(1-x(5))*x(4)-x(1)*x(3)-x(1)*x(4)-x(3)*x(4)+(1-x(5))*x(1)*x(3)+(1-x(5))*x(1)*x(4)+(1-x(5))*x(3)*x(4)+x(1)*x(3)*x(4)-(1-x(5))*x(1)*x(3)*x(4);
F(7) = -0.99047+(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(8) = -0.97912+(1-x(5))+(1-x(4))+(1-x(2))+(1-x(1))+x(3)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(2))-(1-x(5))*(1-x(1))-(1-x(5))*x(3)-(1-x(4))*(1-x(2))-(1-x(4))*(1-x(1))-(1-x(4))*x(3)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(1))*x(3)+(1-x(5))*(1-x(4))*(1-x(2))+(1-x(5))*(1-x(4))*(1-x(1))+(1-x(5))*(1-x(4))*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(4))*(1-x(2))*(1-x(1))+(1-x(4))*(1-x(2))*x(3)+(1-x(4))*(1-x(1))*x(3)+(1-x(2))*(1-x(1))*x(3)-(1-x(5))*(1-x(4))*(1-x(2))*(1-x(1))-(1-x(5))*(1-x(4))*(1-x(2))*x(3)-(1-x(5))*(1-x(4))*(1-x(1))*x(3)-(1-x(5))*(1-x(2))*(1-x(1))*x(3)-(1-x(4))*(1-x(2))*(1-x(1))*x(3)+(1-x(5))*(1-x(4))*(1-x(2))*(1-x(1))*x(3);
F(9) = -0.90345+(1-x(3));
F(10) = -0.91192+x(3)+x(4)-x(3)*x(4);
F(11) = -0.76455+(1-x(4))+x(1)+x(3)+x(5)-(1-x(4))*x(1)-(1-x(4))*x(3)-(1-x(4))*x(5)-x(1)*x(3)-x(1)*x(5)-x(3)*x(5)+(1-x(4))*x(1)*x(3)+(1-x(4))*x(1)*x(5)+(1-x(4))*x(3)*x(5)+x(1)*x(3)*x(5)-(1-x(4))*x(1)*x(3)*x(5);
F(12) = -0.77855+x(1)+x(2)+x(3)+x(5)-x(1)*x(2)-x(1)*x(3)-x(1)*x(5)-x(2)*x(3)-x(2)*x(5)-x(3)*x(5)+x(1)*x(2)*x(3)+x(1)*x(2)*x(5)+x(1)*x(3)*x(5)+x(2)*x(3)*x(5)-x(1)*x(2)*x(3)*x(5);
F(13) = -0.94744+(1-x(5))+x(3)+x(4)-(1-x(5))*x(3)-(1-x(5))*x(4)-x(3)*x(4)+(1-x(5))*x(3)*x(4);
F(14) = -0.99848+(1-x(2))+(1-x(1))+x(3)+x(4)+x(5)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(2))*x(4)-(1-x(2))*x(5)-(1-x(1))*x(3)-(1-x(1))*x(4)-(1-x(1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