function F = KBg2F(x)
%

F(1) = -0.50815 + (1-x(5));
F(2) = -0.71022 + (1-x(4)) + x(3) - x(6)*x(3);
F(3) = -0.78091 + x(1) + x(2) - x(7)*x(2);
F(4) = -0.8394 + (1-x(5)) + (1-x(2)) + x(3) - x(8)*x(3) - x(9)*(1-x(2)) - x(9)*x(3) + x(9)*x(8)*x(3);
F(5) = -0.74671 + (1-x(1)) + x(2) - x(9)*x(2);
F(6) = -0.85321 + (1-x(4)) + x(3) + x(5) - x(10)*x(5) - x(11)*x(3) - x(11)*x(5) + x(11)*x(10)*x(5);
F(7) = -0.73573 + x(1) + x(4) - x(12)*x(4);
F(8) = -0.84101 + (1-x(4)) + (1-x(1)) + x(3) - x(13)*x(3) - x(14)*(1-x(1)) - x(14)*x(3) + x(14)*x(13)*x(3);
F(9) = -0.87575 + (1-x(3)) + x(1) + x(5) - x(15)*x(5) - x(16)*x(1) - x(16)*x(5) + x(16)*x(15)*x(5);
F(10) = -0.47154 + (1-x(3));
F(11) = -0.8367 + (1-x(3)) + (1-x(1)) + x(5) - x(17)*x(5) - x(18)*(1-x(1)) - x(18)*x(5) + x(18)*x(17)*x(5);
F(12) = -0.78063 + (1-x(5)) + (1-x(1)) - x(19)*(1-x(1));
F(13) = -0.69927 + (1-x(3)) + (1-x(1)) - x(20)*(1-x(1));
F(14) = -0.8879 + (1-x(2)) + x(1) + x(3) - x(21)*x(3) - x(22)*x(1) - x(22)*x(3) + x(22)*x(21)*x(3);
F(15) = -0.86651 + x(1) + x(3) + x(4) - x(23)*x(4) - x(24)*x(3) - x(24)*x(4) + x(24)*x(23)*x(4);
