function err = KB25Fs(x)
%

F(1) = -0.98617+(1-x(3))+(1-x(2))+(1-x(1))+x(4)+x(5)-(1-x(3))*(1-x(2))-(1-x(3))*(1-x(1))-(1-x(3))*x(4)-(1-x(3))*x(5)-(1-x(2))*(1-x(1))-(1-x(2))*x(4)-(1-x(2))*x(5)-(1-x(1))*x(4)-(1-x(1))*x(5)-x(4)*x(5)+(1-x(3))*(1-x(2))*(1-x(1))+(1-x(3))*(1-x(2))*x(4)+(1-x(3))*(1-x(2))*x(5)+(1-x(3))*(1-x(1))*x(4)+(1-x(3))*(1-x(1))*x(5)+(1-x(3))*x(4)*x(5)+(1-x(2))*(1-x(1))*x(4)+(1-x(2))*(1-x(1))*x(5)+(1-x(2))*x(4)*x(5)+(1-x(1))*x(4)*x(5)-(1-x(3))*(1-x(2))*(1-x(1))*x(4)-(1-x(3))*(1-x(2))*(1-x(1))*x(5)-(1-x(3))*(1-x(2))*x(4)*x(5)-(1-x(3))*(1-x(1))*x(4)*x(5)-(1-x(2))*(1-x(1))*x(4)*x(5)+(1-x(3))*(1-x(2))*(1-x(1))*x(4)*x(5);
F(2) = -0.88153+(1-x(4))+(1-x(3))+(1-x(1))+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(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(4))*(1-x(3))*(1-x(1))*x(2);
F(3) = -0.91483+(1-x(5))+x(1)+x(2)+x(3)-(1-x(5))*x(1)-(1-x(5))*x(2)-(1-x(5))*x(3)-x(1)*x(2)-x(1)*x(3)-x(2)*x(3)+(1-x(5))*x(1)*x(2)+(1-x(5))*x(1)*x(3)+(1-x(5))*x(2)*x(3)+x(1)*x(2)*x(3)-(1-x(5))*x(1)*x(2)*x(3);
F(4) = -0.73517+x(5);
F(5) = -0.8945+(1-x(3))+(1-x(1))+x(2)+x(4)-(1-x(3))*(1-x(1))-(1-x(3))*x(2)-(1-x(3))*x(4)-(1-x(1))*x(2)-(1-x(1))*x(4)-x(2)*x(4)+(1-x(3))*(1-x(1))*x(2)+(1-x(3))*(1-x(1))*x(4)+(1-x(3))*x(2)*x(4)+(1-x(1))*x(2)*x(4)-(1-x(3))*(1-x(1))*x(2)*x(4);
F(6) = -0.95495+(1-x(5))+(1-x(4))+x(1)+x(2)+x(3)-(1-x(5))*(1-x(4))-(1-x(5))*x(1)-(1-x(5))*x(2)-(1-x(5))*x(3)-(1-x(4))*x(1)-(1-x(4))*x(2)-(1-x(4))*x(3)-x(1)*x(2)-x(1)*x(3)-x(2)*x(3)+(1-x(5))*(1-x(4))*x(1)+(1-x(5))*(1-x(4))*x(2)+(1-x(5))*(1-x(4))*x(3)+(1-x(5))*x(1)*x(2)+(1-x(5))*x(1)*x(3)+(1-x(5))*x(2)*x(3)+(1-x(4))*x(1)*x(2)+(1-x(4))*x(1)*x(3)+(1-x(4))*x(2)*x(3)+x(1)*x(2)*x(3)-(1-x(5))*(1-x(4))*x(1)*x(2)-(1-x(5))*(1-x(4))*x(1)*x(3)-(1-x(5))*(1-x(4))*x(2)*x(3)-(1-x(5))*x(1)*x(2)*x(3)-(1-x(4))*x(1)*x(2)*x(3)+(1-x(5))*(1-x(4))*x(1)*x(2)*x(3);
F(7) = -0.33106+x(2);
F(8) = -0.84457+(1-x(2))+x(1)-(1-x(2))*x(1);
F(9) = -0.9354+(1-x(4))+(1-x(2))+x(3)-(1-x(4))*(1-x(2))-(1-x(4))*x(3)-(1-x(2))*x(3)+(1-x(4))*(1-x(2))*x(3);
F(10) = -0.82681+x(1)+x(3)-x(1)*x(3);
F(11) = -0.94069+(1-x(3))+(1-x(1))+x(2)+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(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(3))*(1-x(1))*x(2)*x(5);
F(12) = -0.84327+(1-x(4))+(1-x(3))+x(1)-(1-x(4))*(1-x(3))-(1-x(4))*x(1)-(1-x(3))*x(1)+(1-x(4))*(1-x(3))*x(1);
F(13) = -0.92153+(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(14) = -0.68963+(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(15) = -0.6537+(1-x(5))+x(4)-(1-x(5))*x(4);
F(16) = -0.95785+(1-x(5))+(1-x(2))+x(1)+x(3)-(1-x(5))*(1-x(2))-(1-x(5))*x(1)-(1-x(5))*x(3)-(1-x(2))*x(1)-(1-x(2))*x(3)-x(1)*x(3)+(1-x(5))*(1-x(2))*x(1)+(1-x(5))*(1-x(2))*x(3)+(1-x(5))*x(1)*x(3)+(1-x(2))*x(1)*x(3)-(1-x(5))*(1-x(2))*x(1)*x(3);
err = norm(F);
