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7)*x(9)+(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(3)*x(7)*x(9)+(1-x(6))*(1-x(5))*x(1)*x(2)*x(3)*x(7)*x(9)+(1-x(6))*(1-x(4))*x(1)*x(2)*x(3)*x(7)*x(9)+(1-x(5))*(1-x(4))*x(1)*x(2)*x(3)*x(7)*x(9)-(1-x(6))*(1-x(5))*(1-x(4))*x(1)*x(2)*x(3)*x(7)*x(9))^2 + (-0.99996+(1-x(10))+(1-x(8))+(1-x(6))+(1-x(5))+(1-x(4))+(1-x(3))+x(2)+x(7)+x(9)-(1-x(10))*(1-x(8))-(1-x(10))*(1-x(6))-(1-x(10))*(1-x(5))-(1-x(10))*(1-x(4))-(1-x(10))*(1-x(3))-(1-x(10))*x(2)-(1-x(10))*x(7)-(1-x(10))*x(9)-(1-x(8))*(1-x(6))-(1-x(8))*(1-x(5))-(1-x(8))*(1-x(4))-(1-x(8))*(1-x(3))-(1-x(8))*x(2)-(1-x(8))*x(7)-(1-x(8))*x(9)-(1-x(6))*(1-x(5))-(1-x(6))*(1-x(4))-(1-x(6))*(1-x(3))-(1-x(6))*x(2)-(1-x(6))*x(7)-(1-x(6))*x(9)-(1-x(5))*(1-x(4))-(1-x(5))*(1-x(3))-(1-x(5))*x(2)-(1-x(5))*x(7)-(1-x(5))*x(9)-(1-x(4))*(1-x(3))-(1-x(4))*x(2)-(1-x(4))*x(7)-(1-x(4))*x(9)-(1-x(3))*x(2)-(1-x(3))*x(7)-(1-x(3))*x(9)-x(2)*x(7)-x(2)*x(9)-x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))+(1-x(10))*(1-x(8))*(1-x(5))+(1-x(10))*(1-x(8))*(1-x(4))+(1-x(10))*(1-x(8))*(1-x(3))+(1-x(10))*(1-x(8))*x(2)+(1-x(10))*(1-x(8))*x(7)+(1-x(10))*(1-x(8))*x(9)+(1-x(10))*(1-x(6))*(1-x(5))+(1-x(10))*(1-x(6))*(1-x(4))+(1-x(10))*(1-x(6))*(1-x(3))+(1-x(10))*(1-x(6))*x(2)+(1-x(10))*(1-x(6))*x(7)+(1-x(10))*(1-x(6))*x(9)+(1-x(10))*(1-x(5))*(1-x(4))+(1-x(10))*(1-x(5))*(1-x(3))+(1-x(10))*(1-x(5))*x(2)+(1-x(10))*(1-x(5))*x(7)+(1-x(10))*(1-x(5))*x(9)+(1-x(10))*(1-x(4))*(1-x(3))+(1-x(10))*(1-x(4))*x(2)+(1-x(10))*(1-x(4))*x(7)+(1-x(10))*(1-x(4))*x(9)+(1-x(10))*(1-x(3))*x(2)+(1-x(10))*(1-x(3))*x(7)+(1-x(10))*(1-x(3))*x(9)+(1-x(10))*x(2)*x(7)+(1-x(10))*x(2)*x(9)+(1-x(10))*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(5))+(1-x(8))*(1-x(6))*(1-x(4))+(1-x(8))*(1-x(6))*(1-x(3))+(1-x(8))*(1-x(6))*x(2)+(1-x(8))*(1-x(6))*x(7)+(1-x(8))*(1-x(6))*x(9)+(1-x(8))*(1-x(5))*(1-x(4))+(1-x(8))*(1-x(5))*(1-x(3))+(1-x(8))*(1-x(5))*x(2)+(1-x(8))*(1-x(5))*x(7)+(1-x(8))*(1-x(5))*x(9)+(1-x(8))*(1-x(4))*(1-x(3))+(1-x(8))*(1-x(4))*x(2)+(1-x(8))*(1-x(4))*x(7)+(1-x(8))*(1-x(4))*x(9)+(1-x(8))*(1-x(3))*x(2)+(1-x(8))*(1-x(3))*x(7)+(1-x(8))*(1-x(3))*x(9)+(1-x(8))*x(2)*x(7)+(1-x(8))*x(2)*x(9)+(1-x(8))*x(7)*x(9)+(1-x(6))*(1-x(5))*(1-x(4))+(1-x(6))*(1-x(5))*(1-x(3))+(1-x(6))*(1-x(5))*x(2)+(1-x(6))*(1-x(5))*x(7)+(1-x(6))*(1-x(5))*x(9)+(1-x(6))*(1-x(4))*(1-x(3))+(1-x(6))*(1-x(4))*x(2)+(1-x(6))*(1-x(4))*x(7)+(1-x(6))*(1-x(4))*x(9)+(1-x(6))*(1-x(3))*x(2)+(1-x(6))*(1-x(3))*x(7)+(1-x(6))*(1-x(3))*x(9)+(1-x(6))*x(2)*x(7)+(1-x(6))*x(2)*x(9)+(1-x(6))*x(7)*x(9)+(1-x(5))*(1-x(4))*(1-x(3))+(1-x(5))*(1-x(4))*x(2)+(1-x(5))*(1-x(4))*x(7)+(1-x(5))*(1-x(4))*x(9)+(1-x(5))*(1-x(3))*x(2)+(1-x(5))*(1-x(3))*x(7)+(1-x(5))*(1-x(3))*x(9)+(1-x(5))*x(2)*x(7)+(1-x(5))*x(2)*x(9)+(1-x(5))*x(7)*x(9)+(1-x(4))*(1-x(3))*x(2)+(1-x(4))*(1-x(3))*x(7)+(1-x(4))*(1-x(3))*x(9)+(1-x(4))*x(2)*x(7)+(1-x(4))*x(2)*x(9)+(1-x(4))*x(7)*x(9)+(1-x(3))*x(2)*x(7)+(1-x(3))*x(2)*x(9)+(1-x(3))*x(7)*x(9)+x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))-(1-x(10))*(1-x(8))*(1-x(6))*x(2)-(1-x(10))*(1-x(8))*(1-x(6))*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))-(1-x(10))*(1-x(8))*(1-x(5))*x(2)-(1-x(10))*(1-x(8))*(1-x(5))*x(7)-(1-x(10))*(1-x(8))*(1-x(5))*x(9)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))-(1-x(10))*(1-x(8))*(1-x(4))*x(2)-(1-x(10))*(1-x(8))*(1-x(4))*x(7)-(1-x(10))*(1-x(8))*(1-x(4))*x(9)-(1-x(10))*(1-x(8))*(1-x(3))*x(2)-(1-x(10))*(1-x(8))*(1-x(3))*x(7)-(1-x(10))*(1-x(8))*(1-x(3))*x(9)-(1-x(10))*(1-x(8))*x(2)*x(7)-(1-x(10))*(1-x(8))*x(2)*x(9)-(1-x(10))*(1-x(8))*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))-(1-x(10))*(1-x(6))*(1-x(5))*x(2)-(1-x(10))*(1-x(6))*(1-x(5))*x(7)-(1-x(10))*(1-x(6))*(1-x(5))*x(9)-(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))-(1-x(10))*(1-x(6))*(1-x(4))*x(2)-(1-x(10))*(1-x(6))*(1-x(4))*x(7)-(1-x(10))*(1-x(6))*(1-x(4))*x(9)-(1-x(10))*(1-x(6))*(1-x(3))*x(2)-(1-x(10))*(1-x(6))*(1-x(3))*x(7)-(1-x(10))*(1-x(6))*(1-x(3))*x(9)-(1-x(10))*(1-x(6))*x(2)*x(7)-(1-x(10))*(1-x(6))*x(2)*x(9)-(1-x(10))*(1-x(6))*x(7)*x(9)-(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))-(1-x(10))*(1-x(5))*(1-x(4))*x(2)-(1-x(10))*(1-x(5))*(1-x(4))*x(7)-(1-x(10))*(1-x(5))*(1-x(4))*x(9)-(1-x(10))*(1-x(5))*(1-x(3))*x(2)-(1-x(10))*(1-x(5))*(1-x(3))*x(7)-(1-x(10))*(1-x(5))*(1-x(3))*x(9)-(1-x(10))*(1-x(5))*x(2)*x(7)-(1-x(10))*(1-x(5))*x(2)*x(9)-(1-x(10))*(1-x(5))*x(7)*x(9)-(1-x(10))*(1-x(4))*(1-x(3))*x(2)-(1-x(10))*(1-x(4))*(1-x(3))*x(7)-(1-x(10))*(1-x(4))*(1-x(3))*x(9)-(1-x(10))*(1-x(4))*x(2)*x(7)-(1-x(10))*(1-x(4))*x(2)*x(9)-(1-x(10))*(1-x(4))*x(7)*x(9)-(1-x(10))*(1-x(3))*x(2)*x(7)-(1-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x(8))*(1-x(6))*(1-x(5))*(1-x(3))+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*x(2)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*x(7)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*x(2)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*x(7)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))*x(2)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))*x(7)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*x(2)*x(7)+(1-x(10))*(1-x(8))*(1-x(6))*x(2)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*x(2)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*x(7)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))*x(2)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))*x(7)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*x(2)*x(7)+(1-x(10))*(1-x(8))*(1-x(5))*x(2)*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))*x(2)+(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))*x(7)+(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))*x(9)+(1-x(10))*(1-x(8))*(1-x(4))*x(2)*x(7)+(1-x(10))*(1-x(8))*(1-x(4))*x(2)*x(9)+(1-x(10))*(1-x(8))*(1-x(4))*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(8))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(8))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(8))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*x(7)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))*x(7)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*x(2)*x(7)+(1-x(10))*(1-x(6))*(1-x(5))*x(2)*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*x(7)*x(9)+(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)+(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))*x(7)+(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))*x(9)+(1-x(10))*(1-x(6))*(1-x(4))*x(2)*x(7)+(1-x(10))*(1-x(6))*(1-x(4))*x(2)*x(9)+(1-x(10))*(1-x(6))*(1-x(4))*x(7)*x(9)+(1-x(10))*(1-x(6))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(6))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(6))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(6))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)+(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)+(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))*x(9)+(1-x(10))*(1-x(5))*(1-x(4))*x(2)*x(7)+(1-x(10))*(1-x(5))*(1-x(4))*x(2)*x(9)+(1-x(10))*(1-x(5))*(1-x(4))*x(7)*x(9)+(1-x(10))*(1-x(5))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(5))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(5))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(5))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(4))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(4))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(4))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(4))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(7)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(7)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*x(2)*x(7)+(1-x(8))*(1-x(6))*(1-x(5))*x(2)*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)+(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(7)+(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(9)+(1-x(8))*(1-x(6))*(1-x(4))*x(2)*x(7)+(1-x(8))*(1-x(6))*(1-x(4))*x(2)*x(9)+(1-x(8))*(1-x(6))*(1-x(4))*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(3))*x(2)*x(7)+(1-x(8))*(1-x(6))*(1-x(3))*x(2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*x(9)+(1-x(6))*(1-x(4))*x(2)*x(7)*x(9)+(1-x(6))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)+(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(9)+(1-x(5))*(1-x(4))*(1-x(3))*x(7)*x(9)+(1-x(5))*(1-x(4))*x(2)*x(7)*x(9)+(1-x(5))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*x(2)*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*x(2)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*x(2)*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*x(2)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))*x(2)*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*x(2)*x(7)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*x(2)*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))*x(2)*x(7)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))*x(2)*x(7)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(4))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(7)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(7)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)*x(7)-(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(4))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)-(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)*x(9)-(1-x(10))*(1-x(5))*(1-x(4))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(5))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(9)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(7)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(9)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(7)*x(9)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(7)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(9)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(7)*x(9)-(1-x(8))*(1-x(6))*(1-x(5))*x(2)*x(7)*x(9)-(1-x(8))*(1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(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(5))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(6))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(8))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(10))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)-(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9)+(1-x(10))*(1-x(8))*(1-x(6))*(1-x(5))*(1-x(4))*(1-x(3))*x(2)*x(7)*x(9))^2 + (-1+(1-x(10))+(1-x(7))+(1-x(3))+(1-x(1))+x(2)+x(4)+x(5)+x(6)+x(8)+x(9)-(1-x(10))*(1-x(7))-(1-x(10))*(1-x(3))-(1-x(10))*(1-x(1))-(1-x(10))*x(2)-(1-x(10))*x(4)-(1-x(10))*x(5)-(1-x(10))*x(6)-(1-x(10))*x(8)-(1-x(10))*x(9)-(1-x(7))*(1-x(3))-(1-x(7))*(1-x(1))-(1-x(7))*x(2)-(1-x(7))*x(4)-(1-x(7))*x(5)-(1-x(7))*x(6)-(1-x(7))*x(8)-(1-x(7))*x(9)-(1-x(3))*(1-x(1))-(1-x(3))*x(2)-(1-x(3))*x(4)-(1-x(3))*x(5)-(1-x(3))*x(6)-(1-x(3))*x(8)-(1-x(3))*x(9)-(1-x(1))*x(2)-(1-x(1))*x(4)-(1-x(1))*x(5)-(1-x(1))*x(6)-(1-x(1))*x(8)-(1-x(1))*x(9)-x(2)*x(4)-x(2)*x(5)-x(2)*x(6)-x(2)*x(8)-x(2)*x(9)-x(4)*x(5)-x(4)*x(6)-x(4)*x(8)-x(4)*x(9)-x(5)*x(6)-x(5)*x(8)-x(5)*x(9)-x(6)*x(8)-x(6)*x(9)-x(8)*x(9)+(1-x(10))*(1-x(7))*(1-x(3))+(1-x(10))*(1-x(7))*(1-x(1))+(1-x(10))*(1-x(7))*x(2)+(1-x(10))*(1-x(7))*x(4)+(1-x(10))*(1-x(7))*x(5)+(1-x(10))*(1-x(7))*x(6)+(1-x(10))*(1-x(7))*x(8)+(1-x(10))*(1-x(7))*x(9)+(1-x(10))*(1-x(3))*(1-x(1))+(1-x(10))*(1-x(3))*x(2)+(1-x(10))*(1-x(3))*x(4)+(1-x(10))*(1-x(3))*x(5)+(1-x(10))*(1-x(3))*x(6)+(1-x(10))*(1-x(3))*x(8)+(1-x(10))*(1-x(3))*x(9)+(1-x(10))*(1-x(1))*x(2)+(1-x(10))*(1-x(1))*x(4)+(1-x(10))*(1-x(1))*x(5)+(1-x(10))*(1-x(1))*x(6)+(1-x(10))*(1-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(1-x(10))*(1-x(7))*(1-x(1))*x(4)-(1-x(10))*(1-x(7))*(1-x(1))*x(5)-(1-x(10))*(1-x(7))*(1-x(1))*x(6)-(1-x(10))*(1-x(7))*(1-x(1))*x(8)-(1-x(10))*(1-x(7))*(1-x(1))*x(9)-(1-x(10))*(1-x(7))*x(2)*x(4)-(1-x(10))*(1-x(7))*x(2)*x(5)-(1-x(10))*(1-x(7))*x(2)*x(6)-(1-x(10))*(1-x(7))*x(2)*x(8)-(1-x(10))*(1-x(7))*x(2)*x(9)-(1-x(10))*(1-x(7))*x(4)*x(5)-(1-x(10))*(1-x(7))*x(4)*x(6)-(1-x(10))*(1-x(7))*x(4)*x(8)-(1-x(10))*(1-x(7))*x(4)*x(9)-(1-x(10))*(1-x(7))*x(5)*x(6)-(1-x(10))*(1-x(7))*x(5)*x(8)-(1-x(10))*(1-x(7))*x(5)*x(9)-(1-x(10))*(1-x(7))*x(6)*x(8)-(1-x(10))*(1-x(7))*x(6)*x(9)-(1-x(10))*(1-x(7))*x(8)*x(9)-(1-x(10))*(1-x(3))*(1-x(1))*x(2)-(1-x(10))*(1-x(3))*(1-x(1))*x(4)-(1-x(10))*(1-x(3))*(1-x(1))*x(5)-(1-x(10))*(1-x(3))*(1-x(1))*x(6)-(1-x(10))*(1-x(3))*(1-x(1))*x(8)-(1-x(10))*(1-x(3))*(1-x(1))*x(9)-(1-x(10))*(1-x(3))*x(2)*x(4)-(1-x(10))*(1-x(3))*x(2)*x(5)-(1-x(10))*(1-x(3))*x(2)*x(6)-(1-x(10))*(1-x(3))*x(2)*x(8)-(1-x(10))*(1-x(3))*x(2)*x(9)-(1-x(10))*(1-x(3))*x(4)*x(5)-(1-x(10))*(1-x(3))*x(4)*x(6)-(1-x(10))*(1-x(3))*x(4)*x(8)-(1-x(10))*(1-x(3))*x(4)*x(9)-(1-x(10))*(1-x(3))*x(5)*x(6)-(1-x(10))*(1-x(3))*x(5)*x(8)-(1-x(10))*(1-x(3))*x(5)*x(9)-(1-x(10))*(1-x(3))*x(6)*x(8)-(1-x(10))*(1-x(3))*x(6)*x(9)-(1-x(10))*(1-x(3))*x(8)*x(9)-(1-x(10))*(1-x(1))*x(2)*x(4)-(1-x(10))*(1-x(1))*x(2)*x(5)-(1-x(10))*(1-x(1))*x(2)*x(6)-(1-x(10))*(1-x(1))*x(2)*x(8)-(1-x(10))*(1-x(1))*x(2)*x(9)-(1-x(10))*(1-x(1))*x(4)*x(5)-(1-x(10))*(1-x(1))*x(4)*x(6)-(1-x(10))*(1-x(1))*x(4)*x(8)-(1-x(10))*(1-x(1))*x(4)*x(9)-(1-x(10))*(1-x(1))*x(5)*x(6)-(1-x(10))*(1-x(1))*x(5)*x(8)-(1-x(10))*(1-x(1))*x(5)*x(9)-(1-x(10))*(1-x(1))*x(6)*x(8)-(1-x(10))*(1-x(1))*x(6)*x(9)-(1-x(10))*(1-x(1))*x(8)*x(9)-(1-x(10))*x(2)*x(4)*x(5)-(1-x(10))*x(2)*x(4)*x(6)-(1-x(10))*x(2)*x(4)*x(8)-(1-x(10))*x(2)*x(4)*x(9)-(1-x(10))*x(2)*x(5)*x(6)-(1-x(10))*x(2)*x(5)*x(8)-(1-x(10))*x(2)*x(5)*x(9)-(1-x(10))*x(2)*x(6)*x(8)-(1-x(10))*x(2)*x(6)*x(9)-(1-x(10))*x(2)*x(8)*x(9)-(1-x(10))*x(4)*x(5)*x(6)-(1-x(10))*x(4)*x(5)*x(8)-(1-x(10))*x(4)*x(5)*x(9)-(1-x(10))*x(4)*x(6)*x(8)-(1-x(10))*x(4)*x(6)*x(9)-(1-x(10))*x(4)*x(8)*x(9)-(1-x(10))*x(5)*x(6)*x(8)-(1-x(10))*x(5)*x(6)*x(9)-(1-x(10))*x(5)*x(8)*x(9)-(1-x(10))*x(6)*x(8)*x(9)-(1-x(7))*(1-x(3))*(1-x(1))*x(2)-(1-x(7))*(1-x(3))*(1-x(1))*x(4)-(1-x(7))*(1-x(3))*(1-x(1))*x(5)-(1-x(7))*(1-x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+(1-x(10))*(1-x(7))*(1-x(3))*(1-x(1))*x(8)+(1-x(10))*(1-x(7))*(1-x(3))*(1-x(1))*x(9)+(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(4)+(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(5)+(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(6)+(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(8)+(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(9)+(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(5)+(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(6)+(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(8)+(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(9)+(1-x(10))*(1-x(7))*(1-x(3))*x(5)*x(6)+(1-x(10))*(1-x(7))*(1-x(3))*x(5)*x(8)+(1-x(10))*(1-x(7))*(1-x(3))*x(5)*x(9)+(1-x(10))*(1-x(7))*(1-x(3))*x(6)*x(8)+(1-x(10))*(1-x(7))*(1-x(3))*x(6)*x(9)+(1-x(10))*(1-x(7))*(1-x(3))*x(8)*x(9)+(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(4)+(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(5)+(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(6)+(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(8)+(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(9)+(1-x(10))*(1-x(7))*(1-x(1))*x(4)*x(5)+(1-x(10))*(1-x(7))*(1-x(1))*x(4)*x(6)+(1-x(10))*(1-x(7))*(1-x(1))*x(4)*x(8)+(1-x(10))*(1-x(7))*(1-x(1))*x(4)*x(9)+(1-x(10))*(1-x(7))*(1-x(1))*x(5)*x(6)+(1-x(10))*(1-x(7))*(1-x(1))*x(5)*x(8)+(1-x(10))*(1-x(7))*(1-x(1))*x(5)*x(9)+(1-x(10))*(1-x(7))*(1-x(1))*x(6)*x(8)+(1-x(10))*(1-x(7))*(1-x(1))*x(6)*x(9)+(1-x(10))*(1-x(7))*(1-x(1))*x(8)*x(9)+(1-x(10))*(1-x(7))*x(2)*x(4)*x(5)+(1-x(10))*(1-x(7))*x(2)*x(4)*x(6)+(1-x(10))*(1-x(7))*x(2)*x(4)*x(8)+(1-x(10))*(1-x(7))*x(2)*x(4)*x(9)+(1-x(10))*(1-x(7))*x(2)*x(5)*x(6)+(1-x(10))*(1-x(7))*x(2)*x(5)*x(8)+(1-x(10))*(1-x(7))*x(2)*x(5)*x(9)+(1-x(10))*(1-x(7))*x(2)*x(6)*x(8)+(1-x(10))*(1-x(7))*x(2)*x(6)*x(9)+(1-x(10))*(1-x(7))*x(2)*x(8)*x(9)+(1-x(10))*(1-x(7))*x(4)*x(5)*x(6)+(1-x(10))*(1-x(7))*x(4)*x(5)*x(8)+(1-x(10))*(1-x(7))*x(4)*x(5)*x(9)+(1-x(10))*(1-x(7))*x(4)*x(6)*x(8)+(1-x(10))*(1-x(7))*x(4)*x(6)*x(9)+(1-x(10))*(1-x(7))*x(4)*x(8)*x(9)+(1-x(10))*(1-x(7))*x(5)*x(6)*x(8)+(1-x(10))*(1-x(7))*x(5)*x(6)*x(9)+(1-x(10))*(1-x(7))*x(5)*x(8)*x(9)+(1-x(10))*(1-x(7))*x(6)*x(8)*x(9)+(1-x(10))*(1-x(3))*(1-x(1))*x(2)*x(4)+(1-x(10))*(1-x(3))*(1-x(1))*x(2)*x(5)+(1-x(10))*(1-x(3))*(1-x(1))*x(2)*x(6)+(1-x(10))*(1-x(3))*(1-x(1))*x(2)*x(8)+(1-x(10))*(1-x(3))*(1-x(1))*x(2)*x(9)+(1-x(10))*(1-x(3))*(1-x(1))*x(4)*x(5)+(1-x(10))*(1-x(3))*(1-x(1))*x(4)*x(6)+(1-x(10))*(1-x(3))*(1-x(1))*x(4)*x(8)+(1-x(10))*(1-x(3))*(1-x(1))*x(4)*x(9)+(1-x(10))*(1-x(3))*(1-x(1))*x(5)*x(6)+(1-x(10))*(1-x(3))*(1-x(1))*x(5)*x(8)+(1-x(10))*(1-x(3))*(1-x(1))*x(5)*x(9)+(1-x(10))*(1-x(3))*(1-x(1))*x(6)*x(8)+(1-x(10))*(1-x(3))*(1-x(1))*x(6)*x(9)+(1-x(10))*(1-x(3))*(1-x(1))*x(8)*x(9)+(1-x(10))*(1-x(3))*x(2)*x(4)*x(5)+(1-x(10))*(1-x(3))*x(2)*x(4)*x(6)+(1-x(10))*(1-x(3))*x(2)*x(4)*x(8)+(1-x(10))*(1-x(3))*x(2)*x(4)*x(9)+(1-x(10))*(1-x(3))*x(2)*x(5)*x(6)+(1-x(10))*(1-x(3))*x(2)*x(5)*x(8)+(1-x(10))*(1-x(3))*x(2)*x(5)*x(9)+(1-x(10))*(1-x(3))*x(2)*x(6)*x(8)+(1-x(10))*(1-x(3))*x(2)*x(6)*x(9)+(1-x(10))*(1-x(3))*x(2)*x(8)*x(9)+(1-x(10))*(1-x(3))*x(4)*x(5)*x(6)+(1-x(10))*(1-x(3))*x(4)*x(5)*x(8)+(1-x(10))*(1-x(3))*x(4)*x(5)*x(9)+(1-x(10))*(1-x(3))*x(4)*x(6)*x(8)+(1-x(10))*(1-x(3))*x(4)*x(6)*x(9)+(1-x(10))*(1-x(3))*x(4)*x(8)*x(9)+(1-x(10))*(1-x(3))*x(5)*x(6)*x(8)+(1-x(10))*(1-x(3))*x(5)*x(6)*x(9)+(1-x(10))*(1-x(3))*x(5)*x(8)*x(9)+(1-x(10))*(1-x(3))*x(6)*x(8)*x(9)+(1-x(10))*(1-x(1))*x(2)*x(4)*x(5)+(1-x(10))*(1-x(1))*x(2)*x(4)*x(6)+(1-x(10))*(1-x(1))*x(2)*x(4)*x(8)+(1-x(10))*(1-x(1))*x(2)*x(4)*x(9)+(1-x(10))*(1-x(1))*x(2)*x(5)*x(6)+(1-x(10))*(1-x(1))*x(2)*x(5)*x(8)+(1-x(10))*(1-x(1))*x(2)*x(5)*x(9)+(1-x(10))*(1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*(1-x(1))*x(6)*x(8)-(1-x(10))*(1-x(7))*(1-x(3))*(1-x(1))*x(6)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*(1-x(1))*x(8)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(4)*x(5)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(4)*x(6)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(4)*x(8)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(4)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(5)*x(6)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(5)*x(8)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(5)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(6)*x(8)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(6)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(2)*x(8)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(5)*x(6)-(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(5)*x(8)-(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(5)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(6)*x(8)-(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(6)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(4)*x(8)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(5)*x(6)*x(8)-(1-x(10))*(1-x(7))*(1-x(3))*x(5)*x(6)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(5)*x(8)*x(9)-(1-x(10))*(1-x(7))*(1-x(3))*x(6)*x(8)*x(9)-(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(4)*x(5)-(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(4)*x(6)-(1-x(10))*(1-x(7))*(1-x(1))*x(2)*x(4)*x(8)-(1-x(10))*(1-x(7))*(1-x(1))*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10))+(1-x(4))+x(2)+x(3)+x(6)-(1-x(10))*(1-x(4))-(1-x(10))*x(2)-(1-x(10))*x(3)-(1-x(10))*x(6)-(1-x(4))*x(2)-(1-x(4))*x(3)-(1-x(4))*x(6)-x(2)*x(3)-x(2)*x(6)-x(3)*x(6)+(1-x(10))*(1-x(4))*x(2)+(1-x(10))*(1-x(4))*x(3)+(1-x(10))*(1-x(4))*x(6)+(1-x(10))*x(2)*x(3)+(1-x(10))*x(2)*x(6)+(1-x(10))*x(3)*x(6)+(1-x(4))*x(2)*x(3)+(1-x(4))*x(2)*x(6)+(1-x(4))*x(3)*x(6)+x(2)*x(3)*x(6)-(1-x(10))*(1-x(4))*x(2)*x(3)-(1-x(10))*(1-x(4))*x(2)*x(6)-(1-x(10))*(1-x(4))*x(3)*x(6)-(1-x(10))*x(2)*x(3)*x(6)-(1-x(4))*x(2)*x(3)*x(6)+(1-x(10))*(1-x(4))*x(2)*x(3)*x(6))^2 + (-0.99786+(1-x(7))+(1-x(6))+(1-x(4))+x(9)-(1-x(7))*(1-x(6))-(1-x(7))*(1-x(4))-(1-x(7))*x(9)-(1-x(6))*(1-x(4))-(1-x(6))*x(9)-(1-x(4))*x(9)+(1-x(7))*(1-x(6))*(1-x(4))+(1-x(7))*(1-x(6))*x(9)+(1-x(7))*(1-x(4))*x(9)+(1-x(6))*(1-x(4))*x(9)-(1-x(7))*(1-x(6))*(1-x(4))*x(9))^2 + (-0.96999+(1-x(9))+(1-x(8))+(1-x(3))+x(2)+x(6)-(1-x(9))*(1-x(8))-(1-x(9))*(1-x(3))-(1-x(9))*x(2)-(1-x(9))*x(6)-(1-x(8))*(1-x(3))-(1-x(8))*x(2)-(1-x(8))*x(6)-(1-x(3))*x(2)-(1-x(3))*x(6)-x(2)*x(6)+(1-x(9))*(1-x(8))*(1-x(3))+(1-x(9))*(1-x(8))*x(2)+(1-x(9))*(1-x(8))*x(6)+(1-x(9))*(1-x(3))*x(2)+(1-x(9))*(1-x(3))*x(6)+(1-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x(2))*x(4)*x(6)*x(7)-(1-x(9))*(1-x(3))*(1-x(2))*x(4)*x(6)*x(7))^2 + (-0.85116+(1-x(1))+x(6)-(1-x(1))*x(6))^2 + (-0.99714+(1-x(10))+x(9)-(1-x(10))*x(9))^2 + (-0.98601+(1-x(9))+(1-x(5))+(1-x(1))+x(4)+x(8)+x(10)-(1-x(9))*(1-x(5))-(1-x(9))*(1-x(1))-(1-x(9))*x(4)-(1-x(9))*x(8)-(1-x(9))*x(10)-(1-x(5))*(1-x(1))-(1-x(5))*x(4)-(1-x(5))*x(8)-(1-x(5))*x(10)-(1-x(1))*x(4)-(1-x(1))*x(8)-(1-x(1))*x(10)-x(4)*x(8)-x(4)*x(10)-x(8)*x(10)+(1-x(9))*(1-x(5))*(1-x(1))+(1-x(9))*(1-x(5))*x(4)+(1-x(9))*(1-x(5))*x(8)+(1-x(9))*(1-x(5))*x(10)+(1-x(9))*(1-x(1))*x(4)+(1-x(9))*(1-x(1))*x(8)+(1-x(9))*(1-x(1))*x(10)+(1-x(9))*x(4)*x(8)+(1-x(9))*x(4)*x(10)+(1-x(9))*x(8)*x(10)+(1-x(5))*(1-x(1))*x(4)+(1-x(5))*(1-x(1))*x(8)+(1-x(5))*(1-x(1))*x(10)+(1-x(5))*x(4)*x(8)+(1-x(5))*x(4)*x(10)+(1-x(5))*x(8)*x(10)+(1-x(1))*x(4)*x(8)+(1-x(1))*x(4)*x(10)+(1-x(1))*x(8)*x(10)+x(4)*x(8)*x(10)-(1-x(9))*(1-x(5))*(1-x(1))*x(4)-(1-x(9))*(1-x(5))*(1-x(1))*x(8)-(1-x(9))*(1-x(5))*(1-x(1))*x(10)-(1-x(9))*(1-x(5))*x(4)*x(8)-(1-x(9))*(1-x(5))*x(4)*x(10)-(1-x(9))*(1-x(5))*x(8)*x(10)-(1-x(9))*(1-x(1))*x(4)*x(8)-(1-x(9))*(1-x(1))*x(4)*x(10)-(1-x(9))*(1-x(1))*x(8)*x(10)-(1-x(9))*x(4)*x(8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)*x(8)+(1-x(10))*(1-x(9))*(1-x(6))+(1-x(10))*(1-x(9))*(1-x(4))+(1-x(10))*(1-x(9))*x(1)+(1-x(10))*(1-x(9))*x(2)+(1-x(10))*(1-x(9))*x(3)+(1-x(10))*(1-x(9))*x(5)+(1-x(10))*(1-x(9))*x(7)+(1-x(10))*(1-x(9))*x(8)+(1-x(10))*(1-x(6))*(1-x(4))+(1-x(10))*(1-x(6))*x(1)+(1-x(10))*(1-x(6))*x(2)+(1-x(10))*(1-x(6))*x(3)+(1-x(10))*(1-x(6))*x(5)+(1-x(10))*(1-x(6))*x(7)+(1-x(10))*(1-x(6))*x(8)+(1-x(10))*(1-x(4))*x(1)+(1-x(10))*(1-x(4))*x(2)+(1-x(10))*(1-x(4))*x(3)+(1-x(10))*(1-x(4))*x(5)+(1-x(10))*(1-x(4))*x(7)+(1-x(10))*(1-x(4))*x(8)+(1-x(10))*x(1)*x(2)+(1-x(10))*x(1)*x(3)+(1-x(10))*x(1)*x(5)+(1-x(10))*x(1)*x(7)+(1-x(10))*x(1)*x(8)+(1-x(10))*x(2)*x(3)+(1-x(10))*x(2)*x(5)+(1-x(10))*x(2)*x(7)+(1-x(10))*x(2)*x(8)+(1-x(10))*x(3)*x(5)+(1-x(10))*x(3)*x(7)+(1-x(10))*x(3)*x(8)+(1-x(10))*x(5)*x(7)+(1-x(10))*x(5)*x(8)+(1-x(10))*x(7)*x(8)+(1-x(9))*(1-x(6))*(1-x(4))+(1-x(9))*(1-x(6))*x(1)+(1-x(9))*(1-x(6))*x(2)+(1-x(9))*(1-x(6))*x(3)+(1-x(9))*(1-x(6))*x(5)+(1-x(9))*(1-x(6))*x(7)+(1-x(9))*(1-x(6))*x(8)+(1-x(9))*(1-x(4))*x(1)+(1-x(9))*(1-x(4))*x(2)+(1-x(9))*(1-x(4))*x(3)+(1-x(9))*(1-x(4))*x(5)+(1-x(9))*(1-x(4))*x(7)+(1-x(9))*(1-x(4))*x(8)+(1-x(9))*x(1)*x(2)+(1-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*x(5)*x(7)+x(1)*x(5)*x(8)+x(1)*x(7)*x(8)+x(2)*x(3)*x(5)+x(2)*x(3)*x(7)+x(2)*x(3)*x(8)+x(2)*x(5)*x(7)+x(2)*x(5)*x(8)+x(2)*x(7)*x(8)+x(3)*x(5)*x(7)+x(3)*x(5)*x(8)+x(3)*x(7)*x(8)+x(5)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))-(1-x(10))*(1-x(9))*(1-x(6))*x(1)-(1-x(10))*(1-x(9))*(1-x(6))*x(2)-(1-x(10))*(1-x(9))*(1-x(6))*x(3)-(1-x(10))*(1-x(9))*(1-x(6))*x(5)-(1-x(10))*(1-x(9))*(1-x(6))*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)-(1-x(10))*(1-x(9))*(1-x(4))*x(2)-(1-x(10))*(1-x(9))*(1-x(4))*x(3)-(1-x(10))*(1-x(9))*(1-x(4))*x(5)-(1-x(10))*(1-x(9))*(1-x(4))*x(7)-(1-x(10))*(1-x(9))*(1-x(4))*x(8)-(1-x(10))*(1-x(9))*x(1)*x(2)-(1-x(10))*(1-x(9))*x(1)*x(3)-(1-x(10))*(1-x(9))*x(1)*x(5)-(1-x(10))*(1-x(9))*x(1)*x(7)-(1-x(10))*(1-x(9))*x(1)*x(8)-(1-x(10))*(1-x(9))*x(2)*x(3)-(1-x(10))*(1-x(9))*x(2)*x(5)-(1-x(10))*(1-x(9))*x(2)*x(7)-(1-x(10))*(1-x(9))*x(2)*x(8)-(1-x(10))*(1-x(9))*x(3)*x(5)-(1-x(10))*(1-x(9))*x(3)*x(7)-(1-x(10))*(1-x(9))*x(3)*x(8)-(1-x(10))*(1-x(9))*x(5)*x(7)-(1-x(10))*(1-x(9))*x(5)*x(8)-(1-x(10))*(1-x(9))*x(7)*x(8)-(1-x(10))*(1-x(6))*(1-x(4))*x(1)-(1-x(10))*(1-x(6))*(1-x(4))*x(2)-(1-x(10))*(1-x(6))*(1-x(4))*x(3)-(1-x(10))*(1-x(6))*(1-x(4))*x(5)-(1-x(10))*(1-x(6))*(1-x(4))*x(7)-(1-x(10))*(1-x(6))*(1-x(4))*x(8)-(1-x(10))*(1-x(6))*x(1)*x(2)-(1-x(10))*(1-x(6))*x(1)*x(3)-(1-x(10))*(1-x(6))*x(1)*x(5)-(1-x(10))*(1-x(6))*x(1)*x(7)-(1-x(10))*(1-x(6))*x(1)*x(8)-(1-x(10))*(1-x(6))*x(2)*x(3)-(1-x(10))*(1-x(6))*x(2)*x(5)-(1-x(10))*(1-x(6))*x(2)*x(7)-(1-x(10))*(1-x(6))*x(2)*x(8)-(1-x(10))*(1-x(6))*x(3)*x(5)-(1-x(10))*(1-x(6))*x(3)*x(7)-(1-x(10))*(1-x(6))*x(3)*x(8)-(1-x(10))*(1-x(6))*x(5)*x(7)-(1-x(10))*(1-x(6))*x(5)*x(8)-(1-x(10))*(1-x(6))*x(7)*x(8)-(1-x(10))*(1-x(4))*x(1)*x(2)-(1-x(10))*(1-x(4))*x(1)*x(3)-(1-x(10))*(1-x(4))*x(1)*x(5)-(1-x(10))*(1-x(4))*x(1)*x(7)-(1-x(10))*(1-x(4))*x(1)*x(8)-(1-x(10))*(1-x(4))*x(2)*x(3)-(1-x(10))*(1-x(4))*x(2)*x(5)-(1-x(10))*(1-x(4))*x(2)*x(7)-(1-x(10))*(1-x(4))*x(2)*x(8)-(1-x(10))*(1-x(4))*x(3)*x(5)-(1-x(10))*(1-x(4))*x(3)*x(7)-(1-x(10))*(1-x(4))*x(3)*x(8)-(1-x(10))*(1-x(4))*x(5)*x(7)-(1-x(10))*(1-x(4))*x(5)*x(8)-(1-x(10))*(1-x(4))*x(7)*x(8)-(1-x(10))*x(1)*x(2)*x(3)-(1-x(10))*x(1)*x(2)*x(5)-(1-x(10))*x(1)*x(2)*x(7)-(1-x(10))*x(1)*x(2)*x(8)-(1-x(10))*x(1)*x(3)*x(5)-(1-x(10))*x(1)*x(3)*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9))*(1-x(4))*x(1)*x(2)+(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(3)+(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(5)+(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(7)+(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(8)+(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(3)+(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(5)+(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(7)+(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(8)+(1-x(10))*(1-x(9))*(1-x(4))*x(3)*x(5)+(1-x(10))*(1-x(9))*(1-x(4))*x(3)*x(7)+(1-x(10))*(1-x(9))*(1-x(4))*x(3)*x(8)+(1-x(10))*(1-x(9))*(1-x(4))*x(5)*x(7)+(1-x(10))*(1-x(9))*(1-x(4))*x(5)*x(8)+(1-x(10))*(1-x(9))*(1-x(4))*x(7)*x(8)+(1-x(10))*(1-x(9))*x(1)*x(2)*x(3)+(1-x(10))*(1-x(9))*x(1)*x(2)*x(5)+(1-x(10))*(1-x(9))*x(1)*x(2)*x(7)+(1-x(10))*(1-x(9))*x(1)*x(2)*x(8)+(1-x(10))*(1-x(9))*x(1)*x(3)*x(5)+(1-x(10))*(1-x(9))*x(1)*x(3)*x(7)+(1-x(10))*(1-x(9))*x(1)*x(3)*x(8)+(1-x(10))*(1-x(9))*x(1)*x(5)*x(7)+(1-x(10))*(1-x(9))*x(1)*x(5)*x(8)+(1-x(10))*(1-x(9))*x(1)*x(7)*x(8)+(1-x(10))*(1-x(9))*x(2)*x(3)*x(5)+(1-x(10))*(1-x(9))*x(2)*x(3)*x(7)+(1-x(10))*(1-x(9))*x(2)*x(3)*x(8)+(1-x(10))*(1-x(9))*x(2)*x(5)*x(7)+(1-x(10))*(1-x(9))*x(2)*x(5)*x(8)+(1-x(10))*(1-x(9))*x(2)*x(7)*x(8)+(1-x(10))*(1-x(9))*x(3)*x(5)*x(7)+(1-x(10))*(1-x(9))*x(3)*x(5)*x(8)+(1-x(10))*(1-x(9))*x(3)*x(7)*x(8)+(1-x(10))*(1-x(9))*x(5)*x(7)*x(8)+(1-x(10))*(1-x(6))*(1-x(4))*x(1)*x(2)+(1-x(10))*(1-x(6))*(1-x(4))*x(1)*x(3)+(1-x(10))*(1-x(6))*(1-x(4))*x(1)*x(5)+(1-x(10))*(1-x(6))*(1-x(4))*x(1)*x(7)+(1-x(10))*(1-x(6))*(1-x(4))*x(1)*x(8)+(1-x(10))*(1-x(6))*(1-x(4))*x(2)*x(3)+(1-x(10))*(1-x(6))*(1-x(4))*x(2)*x(5)+(1-x(10))*(1-x(6))*(1-x(4))*x(2)*x(7)+(1-x(10))*(1-x(6))*(1-x(4))*x(2)*x(8)+(1-x(10))*(1-x(6))*(1-x(4))*x(3)*x(5)+(1-x(10))*(1-x(6))*(1-x(4))*x(3)*x(7)+(1-x(10))*(1-x(6))*(1-x(4))*x(3)*x(8)+(1-x(10))*(1-x(6))*(1-x(4))*x(5)*x(7)+(1-x(10))*(1-x(6))*(1-x(4))*x(5)*x(8)+(1-x(10))*(1-x(6))*(1-x(4))*x(7)*x(8)+(1-x(10))*(1-x(6))*x(1)*x(2)*x(3)+(1-x(10))*(1-x(6))*x(1)*x(2)*x(5)+(1-x(10))*(1-x(6))*x(1)*x(2)*x(7)+(1-x(10))*(1-x(6))*x(1)*x(2)*x(8)+(1-x(10))*(1-x(6))*x(1)*x(3)*x(5)+(1-x(10))*(1-x(6))*x(1)*x(3)*x(7)+(1-x(10))*(1-x(6))*x(1)*x(3)*x(8)+(1-x(10))*(1-x(6))*x(1)*x(5)*x(7)+(1-x(10))*(1-x(6))*x(1)*x(5)*x(8)+(1-x(10))*(1-x(6))*x(1)*x(7)*x(8)+(1-x(10))*(1-x(6))*x(2)*x(3)*x(5)+(1-x(10))*(1-x(6))*x(2)*x(3)*x(7)+(1-x(10))*(1-x(6))*x(2)*x(3)*x(8)+(1-x(10))*(1-x(6))*x(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1-x(6))*(1-x(4))*x(1)*x(5)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(1)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(1)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(2)*x(3)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(2)*x(5)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(2)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(2)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(3)*x(5)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(3)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(3)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(5)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(5)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(2)*x(3)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(2)*x(5)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(2)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(2)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(3)*x(5)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(3)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(3)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(5)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(5)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(2)*x(3)*x(5)-(1-x(10))*(1-x(9))*(1-x(6))*x(2)*x(3)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*x(2)*x(3)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(2)*x(5)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*x(2)*x(5)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(2)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(3)*x(5)*x(7)-(1-x(10))*(1-x(9))*(1-x(6))*x(3)*x(5)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(3)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*x(5)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(2)*x(3)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(2)*x(5)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(2)*x(7)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(2)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(3)*x(5)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(3)*x(7)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(3)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(5)*x(7)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(5)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(3)*x(5)-(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(3)*x(7)-(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(3)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(5)*x(7)-(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(5)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(2)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(3)*x(5)*x(7)-(1-x(10))*(1-x(9))*(1-x(4))*x(3)*x(5)*x(8)-(1-x(10))*(1-x(9))*(1-x(4))*x(3)*x(7)*x(8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(2)*x(5)*x(7)*x(8)+(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(1)*x(3)*x(5)*x(7)*x(8)+(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(2)*x(3)*x(5)*x(7)*x(8)+(1-x(10))*(1-x(9))*(1-x(6))*x(1)*x(2)*x(3)*x(5)*x(7)*x(8)+(1-x(10))*(1-x(9))*(1-x(4))*x(1)*x(2)*x(3)*x(5)*x(7)*x(8)+(1-x(10))*(1-x(6))*(1-x(4))*x(1)*x(2)*x(3)*x(5)*x(7)*x(8)+(1-x(9))*(1-x(6))*(1-x(4))*x(1)*x(2)*x(3)*x(5)*x(7)*x(8)-(1-x(10))*(1-x(9))*(1-x(6))*(1-x(4))*x(1)*x(2)*x(3)*x(5)*x(7)*x(8))^2 + (-0.80997+(1-x(2))+(1-x(1))-(1-x(2))*(1-x(1)))^2 + (-0.95725+(1-x(10))+(1-x(3))+x(7)-(1-x(10))*(1-x(3))-(1-x(10))*x(7)-(1-x(3))*x(7)+(1-x(10))*(1-x(3))*x(7))^2 + (-0.96596+(1-x(10))+(1-x(9))+(1-x(7))+(1-x(5))+x(3)-(1-x(10))*(1-x(9))-(1-x(10))*(1-x(7))-(1-x(10))*(1-x(5))-(1-x(10))*x(3)-(1-x(9))*(1-x(7))-(1-x(9))*(1-x(5))-(1-x(9))*x(3)-(1-x(7))*(1-x(5))-(1-x(7))*x(3)-(1-x(5))*x(3)+(1-x(10))*(1-x(9))*(1-x(7))+(1-x(10))*(1-x(9))*(1-x(5))+(1-x(10))*(1-x(9))*x(3)+(1-x(10))*(1-x(7))*(1-x(5))+(1-x(10))*(1-x(7))*x(3)+(1-x(10))*(1-x(5))*x(3)+(1-x(9))*(1-x(7))*(1-x(5))+(1-x(9))*(1-x(7))*x(3)+(1-x(9))*(1-x(5))*x(3)+(1-x(7))*(1-x(5))*x(3)-(1-x(10))*(1-x(9))*(1-x(7))*(1-x(5))-(1-x(10))*(1-x(9))*(1-x(7))*x(3)-(1-x(10))*(1-x(9))*(1-x(5))*x(3)-(1-x(10))*(1-x(7))*(1-x(5))*x(3)-(1-x(9))*(1-x(7))*(1-x(5))*x(3)+(1-x(10))*(1-x(9))*(1-x(7))*(1-x(5))*x(3))^2 + (-0.99715+(1-x(10))+(1-x(8))+(1-x(4))+(1-x(2))+x(5)+x(6)+x(7)-(1-x(10))*(1-x(8))-(1-x(10))*(1-x(4))-(1-x(10))*(1-x(2))-(1-x(10))*x(5)-(1-x(10))*x(6)-(1-x(10))*x(7)-(1-x(8))*(1-x(4))-(1-x(8))*(1-x(2))-(1-x(8))*x(5)-(1-x(8))*x(6)-(1-x(8))*x(7)-(1-x(4))*(1-x(2))-(1-x(4))*x(5)-(1-x(4))*x(6)-(1-x(4))*x(7)-(1-x(2))*x(5)-(1-x(2))*x(6)-(1-x(2))*x(7)-x(5)*x(6)-x(5)*x(7)-x(6)*x(7)+(1-x(10))*(1-x(8))*(1-x(4))+(1-x(10))*(1-x(8))*(1-x(2))+(1-x(10))*(1-x(8))*x(5)+(1-x(10))*(1-x(8))*x(6)+(1-x(10))*(1-x(8))*x(7)+(1-x(10))*(1-x(4))*(1-x(2))+(1-x(10))*(1-x(4))*x(5)+(1-x(10))*(1-x(4))*x(6)+(1-x(10))*(1-x(4))*x(7)+(1-x(10))*(1-x(2))*x(5)+(1-x(10))*(1-x(2))*x(6)+(1-x(10))*(1-x(2))*x(7)+(1-x(10))*x(5)*x(6)+(1-x(10))*x(5)*x(7)+(1-x(10))*x(6)*x(7)+(1-x(8))*(1-x(4))*(1-x(2))+(1-x(8))*(1-x(4))*x(5)+(1-x(8))*(1-x(4))*x(6)+(1-x(8))*(1-x(4))*x(7)+(1-x(8))*(1-x(2))*x(5)+(1-x(8))*(1-x(2))*x(6)+(1-x(8))*(1-x(2))*x(7)+(1-x(8))*x(5)*x(6)+(1-x(8))*x(5)*x(7)+(1-x(8))*x(6)*x(7)+(1-x(4))*(1-x(2))*x(5)+(1-x(4))*(1-x(2))*x(6)+(1-x(4))*(1-x(2))*x(7)+(1-x(4))*x(5)*x(6)+(1-x(4))*x(5)*x(7)+(1-x(4))*x(6)*x(7)+(1-x(2))*x(5)*x(6)+(1-x(2))*x(5)*x(7)+(1-x(2))*x(6)*x(7)+x(5)*x(6)*x(7)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(2))-(1-x(10))*(1-x(8))*(1-x(4))*x(5)-(1-x(10))*(1-x(8))*(1-x(4))*x(6)-(1-x(10))*(1-x(8))*(1-x(4))*x(7)-(1-x(10))*(1-x(8))*(1-x(2))*x(5)-(1-x(10))*(1-x(8))*(1-x(2))*x(6)-(1-x(10))*(1-x(8))*(1-x(2))*x(7)-(1-x(10))*(1-x(8))*x(5)*x(6)-(1-x(10))*(1-x(8))*x(5)*x(7)-(1-x(10))*(1-x(8))*x(6)*x(7)-(1-x(10))*(1-x(4))*(1-x(2))*x(5)-(1-x(10))*(1-x(4))*(1-x(2))*x(6)-(1-x(10))*(1-x(4))*(1-x(2))*x(7)-(1-x(10))*(1-x(4))*x(5)*x(6)-(1-x(10))*(1-x(4))*x(5)*x(7)-(1-x(10))*(1-x(4))*x(6)*x(7)-(1-x(10))*(1-x(2))*x(5)*x(6)-(1-x(10))*(1-x(2))*x(5)*x(7)-(1-x(10))*(1-x(2))*x(6)*x(7)-(1-x(10))*x(5)*x(6)*x(7)-(1-x(8))*(1-x(4))*(1-x(2))*x(5)-(1-x(8))*(1-x(4))*(1-x(2))*x(6)-(1-x(8))*(1-x(4))*(1-x(2))*x(7)-(1-x(8))*(1-x(4))*x(5)*x(6)-(1-x(8))*(1-x(4))*x(5)*x(7)-(1-x(8))*(1-x(4))*x(6)*x(7)-(1-x(8))*(1-x(2))*x(5)*x(6)-(1-x(8))*(1-x(2))*x(5)*x(7)-(1-x(8))*(1-x(2))*x(6)*x(7)-(1-x(8))*x(5)*x(6)*x(7)-(1-x(4))*(1-x(2))*x(5)*x(6)-(1-x(4))*(1-x(2))*x(5)*x(7)-(1-x(4))*(1-x(2))*x(6)*x(7)-(1-x(4))*x(5)*x(6)*x(7)-(1-x(2))*x(5)*x(6)*x(7)+(1-x(10))*(1-x(8))*(1-x(4))*(1-x(2))*x(5)+(1-x(10))*(1-x(8))*(1-x(4))*(1-x(2))*x(6)+(1-x(10))*(1-x(8))*(1-x(4))*(1-x(2))*x(7)+(1-x(10))*(1-x(8))*(1-x(4))*x(5)*x(6)+(1-x(10))*(1-x(8))*(1-x(4))*x(5)*x(7)+(1-x(10))*(1-x(8))*(1-x(4))*x(6)*x(7)+(1-x(10))*(1-x(8))*(1-x(2))*x(5)*x(6)+(1-x(10))*(1-x(8))*(1-x(2))*x(5)*x(7)+(1-x(10))*(1-x(8))*(1-x(2))*x(6)*x(7)+(1-x(10))*(1-x(8))*x(5)*x(6)*x(7)+(1-x(10))*(1-x(4))*(1-x(2))*x(5)*x(6)+(1-x(10))*(1-x(4))*(1-x(2))*x(5)*x(7)+(1-x(10))*(1-x(4))*(1-x(2))*x(6)*x(7)+(1-x(10))*(1-x(4))*x(5)*x(6)*x(7)+(1-x(10))*(1-x(2))*x(5)*x(6)*x(7)+(1-x(8))*(1-x(4))*(1-x(2))*x(5)*x(6)+(1-x(8))*(1-x(4))*(1-x(2))*x(5)*x(7)+(1-x(8))*(1-x(4))*(1-x(2))*x(6)*x(7)+(1-x(8))*(1-x(4))*x(5)*x(6)*x(7)+(1-x(8))*(1-x(2))*x(5)*x(6)*x(7)+(1-x(4))*(1-x(2))*x(5)*x(6)*x(7)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(2))*x(5)*x(6)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(2))*x(5)*x(7)-(1-x(10))*(1-x(8))*(1-x(4))*(1-x(2))*x(6)*x(7)-(1-x(10))*(1-x(8))*(1-x(4))*x(5)*x(6)*x(7)-(1-x(10))*(1-x(8))*(1-x(2))*x(5)*x(6)*x(7)-(1-x(10))*(1-x(4))*(1-x(2))*x(5)*x(6)*x(7)-(1-x(8))*(1-x(4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x(5)*x(10)+(1-x(2))*x(5)*x(10)-(1-x(6))*(1-x(3))*(1-x(2))*x(5)-(1-x(6))*(1-x(3))*(1-x(2))*x(10)-(1-x(6))*(1-x(3))*x(5)*x(10)-(1-x(6))*(1-x(2))*x(5)*x(10)-(1-x(3))*(1-x(2))*x(5)*x(10)+(1-x(6))*(1-x(3))*(1-x(2))*x(5)*x(10))^2 + (-0.99942+(1-x(10))+(1-x(8))+(1-x(3))+x(9)-(1-x(10))*(1-x(8))-(1-x(10))*(1-x(3))-(1-x(10))*x(9)-(1-x(8))*(1-x(3))-(1-x(8))*x(9)-(1-x(3))*x(9)+(1-x(10))*(1-x(8))*(1-x(3))+(1-x(10))*(1-x(8))*x(9)+(1-x(10))*(1-x(3))*x(9)+(1-x(8))*(1-x(3))*x(9)-(1-x(10))*(1-x(8))*(1-x(3))*x(9))^2;

gradf = jacobian(f,x).';
hessf = jacobian(gradf,x);
fh = matlabFunction(f,gradf,hessf,'vars',{x});

options = optimoptions('fminunc',...
'FunctionTolerance',10^(-10),...
'SpecifyObjectiveGradient',true,...
'HessianFcn','objective',...
'Algorithm','trust-region',...
'Display','off',...
'OutputFcn',@BR_outfun);

clear BR_outfun

[xfinal,fval,exitflag,output] = fminunc(fh,x0,options);
