function F = KBg54F(x)
%

F(1) = -0.91196 + (1-x(5)) + (1-x(3)) + x(4) - x(6)*x(4) - x(7)*(1-x(3)) - x(7)*x(4) + x(7)*x(6)*x(4);
F(2) = -0.75723 + x(4) + x(5) - x(8)*x(5);
F(3) = -0.77398 + (1-x(1)) + x(4) - x(9)*x(4);
F(4) = -0.91749 + (1-x(2)) + x(1) + x(5) - x(10)*x(5) - x(11)*x(1) - x(11)*x(5) + x(11)*x(10)*x(5);
F(5) = -0.88216 + (1-x(2)) + x(3) + x(5) - x(12)*x(5) - x(13)*x(3) - x(13)*x(5) + x(13)*x(12)*x(5);
F(6) = -0.84268 + x(1) + x(2) + x(5) - x(14)*x(5) - x(15)*x(2) - x(15)*x(5) + x(15)*x(14)*x(5);
F(7) = -0.80627 + (1-x(2)) + x(5) - x(15)*x(5);
F(8) = -0.56644 + (x(5));
F(9) = -0.45885 + (x(4));
F(10) = -0.91196 + (1-x(4)) + (1-x(3)) + x(5) - x(16)*x(5) - x(17)*(1-x(3)) - x(17)*x(5) + x(17)*x(16)*x(5);
F(11) = -0.80921 + (1-x(4)) + x(5) - x(17)*x(5);
F(12) = -0.86887 + x(1) + x(3) + x(4) - x(18)*x(4) - x(19)*x(3) - x(19)*x(4) + x(19)*x(18)*x(4);
F(13) = -0.87692 + (1-x(5)) + (1-x(4)) + (1-x(2)) - x(20)*(1-x(2)) - x(21)*(1-x(4)) - x(21)*(1-x(2)) + x(21)*x(20)*(1-x(2));
F(14) = -0.76405 + (1-x(2)) + x(3) - x(22)*x(3);
