function F = KBg25F(x)
%

F(1) = -0.48123 + (x(3));
F(2) = -0.86765 + (1-x(5)) + (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(3) = -0.80619 + (1-x(5)) + (1-x(4)) + (1-x(1)) - x(8)*(1-x(1)) - x(9)*(1-x(4)) - x(9)*(1-x(1)) + x(9)*x(8)*(1-x(1));
F(4) = -0.70167 + (1-x(5)) + x(4) - x(10)*x(4);
F(5) = -0.9724 + x(1) + x(2) + x(4) - x(11)*x(4) - x(12)*x(2) - x(12)*x(4) + x(12)*x(11)*x(4);
F(6) = -0.7597 + x(2) + x(5) - x(13)*x(5);
F(7) = -0.86403 + (1-x(1)) + x(4) + x(5) - x(14)*x(5) - x(15)*x(4) - x(15)*x(5) + x(15)*x(14)*x(5);
F(8) = -0.86169 + (1-x(5)) + (1-x(3)) + x(2) - x(16)*x(2) - x(17)*(1-x(3)) - x(17)*x(2) + x(17)*x(16)*x(2);
F(9) = -0.86137 + (1-x(1)) + x(2) + x(5) - x(18)*x(5) - x(19)*x(2) - x(19)*x(5) + x(19)*x(18)*x(5);
F(10) = -0.5142 + (x(2));
F(11) = -0.91067 + (1-x(3)) + (1-x(2)) + x(4) - x(20)*x(4) - x(21)*(1-x(2)) - x(21)*x(4) + x(21)*x(20)*x(4);
F(12) = -0.76775 + (1-x(2)) + x(5) - x(21)*x(5);
