function err = KB22Fs(x)
%

F(1) = -0.9962+(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(2) = -0.99708+(1-x(4))+(1-x(3))+x(2)+x(5)-(1-x(4))*(1-x(3))-(1-x(4))*x(2)-(1-x(4))*x(5)-(1-x(3))*x(2)-(1-x(3))*x(5)-x(2)*x(5)+(1-x(4))*(1-x(3))*x(2)+(1-x(4))*(1-x(3))*x(5)+(1-x(4))*x(2)*x(5)+(1-x(3))*x(2)*x(5)-(1-x(4))*(1-x(3))*x(2)*x(5);
F(3) = -0.96827+(1-x(2))+(1-x(1))+x(4)+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(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)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5)+(1-x(3))*x(1)*x(2)*x(4)*x(5);
F(9) = -0.91908+(1-x(4))+x(2)-(1-x(4))*x(2);
F(10) = -0.96688+x(2)+x(5)-x(2)*x(5);
F(11) = -0.66538+(1-x(3));
err = norm(F);
