function F = KBg18F(x)
%

F(1) = -0.93065 + (1-x(3)) + x(1) + x(5) - x(6)*x(5) - x(7)*x(1) - x(7)*x(5) + x(7)*x(6)*x(5);
F(2) = -0.53986 + (x(4));
F(3) = -0.45799 + (1-x(3));
F(4) = -0.84204 + x(2) + x(5) - x(8)*x(5);
F(5) = -0.72477 + (1-x(4)) + (1-x(2)) - x(9)*(1-x(2));
F(6) = -0.69994 + (1-x(4)) + (1-x(3)) - x(10)*(1-x(3));
F(7) = -0.87511 + (1-x(3)) + x(2) + x(4) - x(11)*x(4) - x(12)*x(2) - x(12)*x(4) + x(12)*x(11)*x(4);
F(8) = -0.71923 + (1-x(2)) + x(3) - x(13)*x(3);
F(9) = -0.72982 + (1-x(3)) + x(5) - x(14)*x(5);
F(10) = -0.71923 + (1-x(3)) + x(2) - x(15)*x(2);
F(11) = -0.88541 + (1-x(5)) + (1-x(4)) + (1-x(2)) - x(16)*(1-x(2)) - x(17)*(1-x(4)) - x(17)*(1-x(2)) + x(17)*x(16)*(1-x(2));
F(12) = -0.57454 + (x(5));
F(13) = -0.44285 + (x(1));
