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, and y. Find the greatest possible value of: x + y.
The greatest possible value of x+y is 761 which occurs corresponding to x=343 and y=418