function F = KBg39F(x)
%

F(1) = -0.33709 + (1-x(4));
F(2) = -0.87136 + x(2) + x(3) + x(5) - x(6)*x(5) - x(7)*x(3) - x(7)*x(5) + x(7)*x(6)*x(5);
F(3) = -0.88869 + x(1) + x(3) + x(4) - x(8)*x(4) - x(9)*x(3) - x(9)*x(4) + x(9)*x(8)*x(4);
F(4) = -0.5758 + (x(1));
F(5) = -0.94343 + (1-x(4)) + (1-x(3)) + x(1) - x(10)*x(1) - x(11)*(1-x(3)) - x(11)*x(1) + x(11)*x(10)*x(1);
F(6) = -0.82765 + (1-x(4)) + (1-x(2)) + (1-x(1)) - x(12)*(1-x(1)) - x(13)*(1-x(2)) - x(13)*(1-x(1)) + x(13)*x(12)*(1-x(1));
F(7) = -0.74936 + (1-x(5)) + x(2) - x(14)*x(2);
F(8) = -0.88332 + (1-x(4)) + x(3) - x(15)*x(3);
F(9) = -0.83434 + (1-x(4)) + x(1) - x(16)*x(1);
F(10) = -0.47789 + (1-x(5));
F(11) = -0.80259 + (1-x(4)) + (1-x(1)) + x(5) - x(17)*x(5) - x(18)*(1-x(1)) - x(18)*x(5) + x(18)*x(17)*x(5);
