Find all positive integer solutions of the equation $x^y=y^x\quad(x\neq y).$ Please provide the sum of all elements in the solutions.

Let's think step by step and output the final answer within \boxed{}.
user