function F = KBg35F(x)
%

F(1) = -0.84245 + (1-x(4)) + (1-x(3)) + (1-x(1)) - x(6)*(1-x(1)) - x(7)*(1-x(3)) - x(7)*(1-x(1)) + x(7)*x(6)*(1-x(1));
F(2) = -0.88984 + x(1) + x(2) + x(4) - x(8)*x(4) - x(9)*x(2) - x(9)*x(4) + x(9)*x(8)*x(4);
F(3) = -0.82981 + (1-x(4)) + (1-x(1)) + x(5) - x(10)*x(5) - x(11)*(1-x(1)) - x(11)*x(5) + x(11)*x(10)*x(5);
F(4) = -0.54788 + (1-x(5));
F(5) = -0.47024 + (1-x(3));
F(6) = -0.89337 + (1-x(3)) + x(2) + x(5) - x(12)*x(5) - x(13)*x(2) - x(13)*x(5) + x(13)*x(12)*x(5);
F(7) = -0.8515 + (1-x(1)) + x(2) + x(5) - x(14)*x(5) - x(15)*x(2) - x(15)*x(5) + x(15)*x(14)*x(5);
F(8) = -0.8515 + (1-x(2)) + x(1) + x(5) - x(16)*x(5) - x(17)*x(1) - x(17)*x(5) + x(17)*x(16)*x(5);
F(9) = -0.74214 + (1-x(2)) + x(1) - x(18)*x(1);
F(10) = -0.5214 + (x(4));
