function F = KBg21F(x)
%

F(1) = -0.68221 + (1-x(4)) + (1-x(1)) - x(6)*(1-x(1));
F(2) = -0.5865 + (x(5));
F(3) = -0.9075 + x(2) + x(3) + x(5) - x(7)*x(5) - x(8)*x(3) - x(8)*x(5) + x(8)*x(7)*x(5);
F(4) = -0.86878 + (1-x(5)) + (1-x(3)) + (1-x(2)) - x(9)*(1-x(2)) - x(10)*(1-x(3)) - x(10)*(1-x(2)) + x(10)*x(9)*(1-x(2));
F(5) = -0.61791 + (1-x(5)) + (1-x(1)) - x(11)*(1-x(1));
F(6) = -0.84202 + (1-x(4)) + (1-x(3)) + x(1) - x(12)*x(1) - x(13)*(1-x(3)) - x(13)*x(1) + x(13)*x(12)*x(1);
F(7) = -0.86106 + (1-x(3)) + (1-x(2)) + x(5) - x(14)*x(5) - x(15)*(1-x(2)) - x(15)*x(5) + x(15)*x(14)*x(5);
F(8) = -0.57144 + (x(4));
F(9) = -0.54864 + (1-x(3));
F(10) = -0.41504 + (1-x(1));
F(11) = -0.88341 + (1-x(4)) + x(1) + x(2) - x(16)*x(2) - x(17)*x(1) - x(17)*x(2) + x(17)*x(16)*x(2);
F(12) = -0.85287 + x(1) + x(2) + x(3) - x(18)*x(3) - x(19)*x(2) - x(19)*x(3) + x(19)*x(18)*x(3);
F(13) = -0.75877 + (1-x(5)) + x(2) - x(20)*x(2);
F(14) = -0.86405 + (1-x(5)) + (1-x(2)) + x(4) - x(21)*x(4) - x(22)*(1-x(2)) - x(22)*x(4) + x(22)*x(21)*x(4);
F(15) = -0.89605 + (1-x(2)) + (1-x(1)) + x(5) - x(23)*x(5) - x(24)*(1-x(1)) - x(24)*x(5) + x(24)*x(23)*x(5);
