Do you like chess?

In a chess competition, $$y$$ men and $$x$$ women were present. Each player played with other exactly once. The matches between man and man were 10 and between woman and woman were 21. If matches between man and woman were $$z$$, find the value of $$x+y+z$$.

×