Which of the following is correct property for joint probability distribution of X and Y: (STA301)

Sigma f(X,Y)=1 
Sigma f(Y,X)=1
Both of above
None of above