function err = KB56Fs(x)
%

F(1) = -0.43847+(1-x(3))+x(2)-(1-x(3))*x(2);
F(2) = -0.67216+(1-x(2))+(1-x(1))-(1-x(2))*(1-x(1));
F(3) = -0.95422+x(2)+x(3)-x(2)*x(3);
F(4) = -0.93707+(1-x(1))+x(3)-(1-x(1))*x(3);
F(5) = -0.99697+(1-x(1))+x(2)+x(3)+x(4)+x(5)-(1-x(1))*x(2)-(1-x(1))*x(3)-(1-x(1))*x(4)-(1-x(1))*x(5)-x(2)*x(3)-x(2)*x(4)-x(2)*x(5)-x(3)*x(4)-x(3)*x(5)-x(4)*x(5)+(1-x(1))*x(2)*x(3)+(1-x(1))*x(2)*x(4)+(1-x(1))*x(2)*x(5)+(1-x(1))*x(3)*x(4)+(1-x(1))*x(3)*x(5)+(1-x(1))*x(4)*x(5)+x(2)*x(3)*x(4)+x(2)*x(3)*x(5)+x(2)*x(4)*x(5)+x(3)*x(4)*x(5)-(1-x(1))*x(2)*x(3)*x(4)-(1-x(1))*x(2)*x(3)*x(5)-(1-x(1))*x(2)*x(4)*x(5)-(1-x(1))*x(3)*x(4)*x(5)-x(2)*x(3)*x(4)*x(5)+(1-x(1))*x(2)*x(3)*x(4)*x(5);
F(6) = -0.88601+x(5);
F(7) = -0.95998+(1-x(5))+(1-x(2))+x(1)+x(4)-(1-x(5))*(1-x(2))-(1-x(5))*x(1)-(1-x(5))*x(4)-(1-x(2))*x(1)-(1-x(2))*x(4)-x(1)*x(4)+(1-x(5))*(1-x(2))*x(1)+(1-x(5))*(1-x(2))*x(4)+(1-x(5))*x(1)*x(4)+(1-x(2))*x(1)*x(4)-(1-x(5))*(1-x(2))*x(1)*x(4);
F(8) = -0.16514+(1-x(1));
F(9) = -0.75135+(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(10) = -0.98951+(1-x(4))+(1-x(3))+(1-x(2))+(1-x(1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(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(17) = -0.30352+x(4);
F(18) = -0.6089+(1-x(3))+x(2)+x(4)-(1-x(3))*x(2)-(1-x(3))*x(4)-x(2)*x(4)+(1-x(3))*x(2)*x(4);
F(19) = -0.96882+(1-x(2))+x(4)+x(5)-(1-x(2))*x(4)-(1-x(2))*x(5)-x(4)*x(5)+(1-x(2))*x(4)*x(5);
F(20) = -0.93811+(1-x(5))+x(1)+x(2)+x(4)-(1-x(5))*x(1)-(1-x(5))*x(2)-(1-x(5))*x(4)-x(1)*x(2)-x(1)*x(4)-x(2)*x(4)+(1-x(5))*x(1)*x(2)+(1-x(5))*x(1)*x(4)+(1-x(5))*x(2)*x(4)+x(1)*x(2)*x(4)-(1-x(5))*x(1)*x(2)*x(4);
F(21) = -0.88498+x(1)+x(4)-x(1)*x(4);
F(22) = -0.93599+(1-x(3))+x(2)+x(5)-(1-x(3))*x(2)-(1-x(3))*x(5)-x(2)*x(5)+(1-x(3))*x(2)*x(5);
F(23) = -0.90236+(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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