function err = KB27Fs(x)
%

F(1) = -0.95182+(1-x(4))+(1-x(1))-(1-x(4))*(1-x(1));
F(2) = -0.54572+(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(3) = -0.99233+(1-x(2))+(1-x(1))+x(3)+x(4)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(2))*x(4)-(1-x(1))*x(3)-(1-x(1))*x(4)-x(3)*x(4)+(1-x(2))*(1-x(1))*x(3)+(1-x(2))*(1-x(1))*x(4)+(1-x(2))*x(3)*x(4)+(1-x(1))*x(3)*x(4)-(1-x(2))*(1-x(1))*x(3)*x(4);
F(4) = -0.88091+(1-x(3))+x(1)+x(2)+x(4)+x(5)-(1-x(3))*x(1)-(1-x(3))*x(2)-(1-x(3))*x(4)-(1-x(3))*x(5)-x(1)*x(2)-x(1)*x(4)-x(1)*x(5)-x(2)*x(4)-x(2)*x(5)-x(4)*x(5)+(1-x(3))*x(1)*x(2)+(1-x(3))*x(1)*x(4)+(1-x(3))*x(1)*x(5)+(1-x(3))*x(2)*x(4)+(1-x(3))*x(2)*x(5)+(1-x(3))*x(4)*x(5)+x(1)*x(2)*x(4)+x(1)*x(2)*x(5)+x(1)*x(4)*x(5)+x(2)*x(4)*x(5)-(1-x(3))*x(1)*x(2)*x(4)-(1-x(3))*x(1)*x(2)*x(5)-(1-x(3))*x(1)*x(4)*x(5)-(1-x(3))*x(2)*x(4)*x(5)-x(1)*x(2)*x(4)*x(5)+(1-x(3))*x(1)*x(2)*x(4)*x(5);
F(5) = -0.95612+(1-x(4))+(1-x(1))+x(5)-(1-x(4))*(1-x(1))-(1-x(4))*x(5)-(1-x(1))*x(5)+(1-x(4))*(1-x(1))*x(5);
F(6) = -0.86684+(1-x(4))+(1-x(3))+x(1)+x(2)+x(5)-(1-x(4))*(1-x(3))-(1-x(4))*x(1)-(1-x(4))*x(2)-(1-x(4))*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(4))*(1-x(3))*x(1)+(1-x(4))*(1-x(3))*x(2)+(1-x(4))*(1-x(3))*x(5)+(1-x(4))*x(1)*x(2)+(1-x(4))*x(1)*x(5)+(1-x(4))*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(4))*(1-x(3))*x(1)*x(2)-(1-x(4))*(1-x(3))*x(1)*x(5)-(1-x(4))*(1-x(3))*x(2)*x(5)-(1-x(4))*x(1)*x(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(7) = -0.83827+(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(8) = -0.089325+x(5);
F(9) = -0.84693+x(3)+x(4)-x(3)*x(4);
F(10) = -0.44075+(1-x(3))+x(1)+x(5)-(1-x(3))*x(1)-(1-x(3))*x(5)-x(1)*x(5)+(1-x(3))*x(1)*x(5);
F(11) = -0.90872+(1-x(1));
F(12) = -0.99219+(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(13) = -0.98662+(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(14) = -0.97104+(1-x(5))+x(3)-(1-x(5))*x(3);
F(15) = -0.99869+(1-x(5))+(1-x(4))+(1-x(3))+(1-x(1))+x(2)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(3))-(1-x(5))*(1-x(1))-(1-x(5))*x(2)-(1-x(4))*(1-x(3))-(1-x(4))*(1-x(1))-(1-x(4))*x(2)-(1-x(3))*(1-x(1))-(1-x(3))*x(2)-(1-x(1))*x(2)+(1-x(5))*(1-x(4))*(1-x(3))+(1-x(5))*(1-x(4))*(1-x(1))+(1-x(5))*(1-x(4))*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(4))*(1-x(3))*(1-x(1))+(1-x(4))*(1-x(3))*x(2)+(1-x(4))*(1-x(1))*x(2)+(1-x(3))*(1-x(1))*x(2)-(1-x(5))*(1-x(4))*(1-x(3))*(1-x(1))-(1-x(5))*(1-x(4))*(1-x(3))*x(2)-(1-x(5))*(1-x(4))*(1-x(1))*x(2)-(1-x(5))*(1-x(3))*(1-x(1))*x(2)-(1-x(4))*(1-x(3))*(1-x(1))*x(2)+(1-x(5))*(1-x(4))*(1-x(3))*(1-x(1))*x(2);
F(16) = -0.99931+(1-x(5))+(1-x(2))+(1-x(1))+x(3)+x(4)-(1-x(5))*(1-x(2))-(1-x(5))*(1-x(1))-(1-x(5))*x(3)-(1-x(5))*x(4)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(2))*x(4)-(1-x(1))*x(3)-(1-x(1))*x(4)-x(3)*x(4)+(1-x(5))*(1-x(2))*(1-x(1))+(1-x(5))*(1-x(2))*x(3)+(1-x(5))*(1-x(2))*x(4)+(1-x(5))*(1-x(1))*x(3)+(1-x(5))*(1-x(1))*x(4)+(1-x(5))*x(3)*x(4)+(1-x(2))*(1-x(1))*x(3)+(1-x(2))*(1-x(1))*x(4)+(1-x(2))*x(3)*x(4)+(1-x(1))*x(3)*x(4)-(1-x(5))*(1-x(2))*(1-x(1))*x(3)-(1-x(5))*(1-x(2))*(1-x(1))*x(4)-(1-x(5))*(1-x(2))*x(3)*x(4)-(1-x(5))*(1-x(1))*x(3)*x(4)-(1-x(2))*(1-x(1))*x(3)*x(4)+(1-x(5))*(1-x(2))*(1-x(1))*x(3)*x(4);
F(17) = -0.76189+(1-x(4))+x(2)-(1-x(4))*x(2);
err = norm(F);
