A set contains four numbers. The six pairwise sums of distinct elements of the set, in no particular order, are $189, 320, 287, 264, x, y$. Find the greatest possible value of: $x + y$.
By assuming the elements to be $a, b, c, d$ and by making $6$ different equations, I solved for $x+y$. The result came to be $793$. I am not sure if this is correct or not. Can anyone help me out?
Taking the hint from @Dubs, you want d to be the largest, b and c the next larger than a. For this to happen, you get ($d+a = 320, b+c = 287, b+a = 264 and c+a = 189$).
From the last two weg get $b-c = 75$ and from this and the second one we get $2b = 362$, giving you $b = 181, a =83, c = 106$ and $d= 237$ and hence $x+y = 761$