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
F(7) = -0.92971+(1-x(5))+x(4)-(1-x(5))*x(4);
F(8) = -0.43987+(1-x(1))+x(5)-(1-x(1))*x(5);
F(9) = -0.99403+(1-x(5))+x(1)+x(2)+x(3)+x(4)-(1-x(5))*x(1)-(1-x(5))*x(2)-(1-x(5))*x(3)-(1-x(5))*x(4)-x(1)*x(2)-x(1)*x(3)-x(1)*x(4)-x(2)*x(3)-x(2)*x(4)-x(3)*x(4)+(1-x(5))*x(1)*x(2)+(1-x(5))*x(1)*x(3)+(1-x(5))*x(1)*x(4)+(1-x(5))*x(2)*x(3)+(1-x(5))*x(2)*x(4)+(1-x(5))*x(3)*x(4)+x(1)*x(2)*x(3)+x(1)*x(2)*x(4)+x(1)*x(3)*x(4)+x(2)*x(3)*x(4)-(1-x(5))*x(1)*x(2)*x(3)-(1-x(5))*x(1)*x(2)*x(4)-(1-x(5))*x(1)*x(3)*x(4)-(1-x(5))*x(2)*x(3)*x(4)-x(1)*x(2)*x(3)*x(4)+(1-x(5))*x(1)*x(2)*x(3)*x(4);
F(10) = -0.26096+x(5);
F(11) = -0.74381+(1-x(4))+x(2)+x(3)-(1-x(4))*x(2)-(1-x(4))*x(3)-x(2)*x(3)+(1-x(4))*x(2)*x(3);
F(12) = -0.78873+(1-x(4))+(1-x(2))+(1-x(1))+x(5)-(1-x(4))*(1-x(2))-(1-x(4))*(1-x(1))-(1-x(4))*x(5)-(1-x(2))*(1-x(1))-(1-x(2))*x(5)-(1-x(1))*x(5)+(1-x(4))*(1-x(2))*(1-x(1))+(1-x(4))*(1-x(2))*x(5)+(1-x(4))*(1-x(1))*x(5)+(1-x(2))*(1-x(1))*x(5)-(1-x(4))*(1-x(2))*(1-x(1))*x(5);
F(13) = -0.92362+(1-x(2))+(1-x(1))+x(3)+x(4)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(2))*x(4)-(1-x(1))*x(3)-(1-x(1))*x(4)-x(3)*x(4)+(1-x(2))*(1-x(1))*x(3)+(1-x(2))*(1-x(1))*x(4)+(1-x(2))*x(3)*x(4)+(1-x(1))*x(3)*x(4)-(1-x(2))*(1-x(1))*x(3)*x(4);
F(14) = -0.97636+(1-x(5))+(1-x(2))+x(1)+x(3)-(1-x(5))*(1-x(2))-(1-x(5))*x(1)-(1-x(5))*x(3)-(1-x(2))*x(1)-(1-x(2))*x(3)-x(1)*x(3)+(1-x(5))*(1-x(2))*x(1)+(1-x(5))*(1-x(2))*x(3)+(1-x(5))*x(1)*x(3)+(1-x(2))*x(1)*x(3)-(1-x(5))*(1-x(2))*x(1)*x(3);
F(15) = -0.93338+(1-x(3))+x(1)-(1-x(3))*x(1);
F(16) = -0.98143+(1-x(4))+(1-x(3))+(1-x(2))+x(1)+x(5)-(1-x(4))*(1-x(3))-(1-x(4))*(1-x(2))-(1-x(4))*x(1)-(1-x(4))*x(5)-(1-x(3))*(1-x(2))-(1-x(3))*x(1)-(1-x(3))*x(5)-(1-x(2))*x(1)-(1-x(2))*x(5)-x(1)*x(5)+(1-x(4))*(1-x(3))*(1-x(2))+(1-x(4))*(1-x(3))*x(1)+(1-x(4))*(1-x(3))*x(5)+(1-x(4))*(1-x(2))*x(1)+(1-x(4))*(1-x(2))*x(5)+(1-x(4))*x(1)*x(5)+(1-x(3))*(1-x(2))*x(1)+(1-x(3))*(1-x(2))*x(5)+(1-x(3))*x(1)*x(5)+(1-x(2))*x(1)*x(5)-(1-x(4))*(1-x(3))*(1-x(2))*x(1)-(1-x(4))*(1-x(3))*(1-x(2))*x(5)-(1-x(4))*(1-x(3))*x(1)*x(5)-(1-x(4))*(1-x(2))*x(1)*x(5)-(1-x(3))*(1-x(2))*x(1)*x(5)+(1-x(4))*(1-x(3))*(1-x(2))*x(1)*x(5);
F(17) = -0.90236+(1-x(5))+(1-x(2))+x(3)-(1-x(5))*(1-x(2))-(1-x(5))*x(3)-(1-x(2))*x(3)+(1-x(5))*(1-x(2))*x(3);
F(18) = -0.61849+(1-x(2))+x(5)-(1-x(2))*x(5);
F(19) = -0.91344+x(1)+x(2)+x(5)-x(1)*x(2)-x(1)*x(5)-x(2)*x(5)+x(1)*x(2)*x(5);
F(20) = -0.90942+(1-x(2))+x(1)+x(3)-(1-x(2))*x(1)-(1-x(2))*x(3)-x(1)*x(3)+(1-x(2))*x(1)*x(3);
F(21) = -0.94593+(1-x(5))+(1-x(4))+(1-x(2))+(1-x(1))+x(3)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(2))-(1-x(5))*(1-x(1))-(1-x(5))*x(3)-(1-x(4))*(1-x(2))-(1-x(4))*(1-x(1))-(1-x(4))*x(3)-(1-x(2))*(1-x(1))-(1-x(2))*x(3)-(1-x(1))*x(3)+(1-x(5))*(1-x(4))*(1-x(2))+(1-x(5))*(1-x(4))*(1-x(1))+(1-x(5))*(1-x(4))*x(3)+(1-x(5))*(1-x(2))*(1-x(1))+(1-x(5))*(1-x(2))*x(3)+(1-x(5))*(1-x(1))*x(3)+(1-x(4))*(1-x(2))*(1-x(1))+(1-x(4))*(1-x(2))*x(3)+(1-x(4))*(1-x(1))*x(3)+(1-x(2))*(1-x(1))*x(3)-(1-x(5))*(1-x(4))*(1-x(2))*(1-x(1))-(1-x(5))*(1-x(4))*(1-x(2))*x(3)-(1-x(5))*(1-x(4))*(1-x(1))*x(3)-(1-x(5))*(1-x(2))*(1-x(1))*x(3)-(1-x(4))*(1-x(2))*(1-x(1))*x(3)+(1-x(5))*(1-x(4))*(1-x(2))*(1-x(1))*x(3);
F(22) = -0.2752+x(3);
F(23) = -0.94905+(1-x(5))+x(3)+x(4)-(1-x(5))*x(3)-(1-x(5))*x(4)-x(3)*x(4)+(1-x(5))*x(3)*x(4);
F(24) = -0.99358+(1-x(3))+x(1)+x(2)+x(4)+x(5)-(1-x(3))*x(1)-(1-x(3))*x(2)-(1-x(3))*x(4)-(1-x(3))*x(5)-x(1)*x(2)-x(1)*x(4)-x(1)*x(5)-x(2)*x(4)-x(2)*x(5)-x(4)*x(5)+(1-x(3))*x(1)*x(2)+(1-x(3))*x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)*x(5);
F(27) = -0.80201+(1-x(4))+(1-x(1))+x(2)+x(5)-(1-x(4))*(1-x(1))-(1-x(4))*x(2)-(1-x(4))*x(5)-(1-x(1))*x(2)-(1-x(1))*x(5)-x(2)*x(5)+(1-x(4))*(1-x(1))*x(2)+(1-x(4))*(1-x(1))*x(5)+(1-x(4))*x(2)*x(5)+(1-x(1))*x(2)*x(5)-(1-x(4))*(1-x(1))*x(2)*x(5);
F(28) = -0.95384+(1-x(5))+(1-x(4))+x(1)-(1-x(5))*(1-x(4))-(1-x(5))*x(1)-(1-x(4))*x(1)+(1-x(5))*(1-x(4))*x(1);
F(29) = -0.79662+(1-x(3))+x(5)-(1-x(3))*x(5);
