The sum of eight positive even integers is $50$. If no integer can appear more than twice in the set, what is the greatest possible value of one of the integers?
This was a question I encountered on an online SAT test, I got stuck on it because if I tried the least even integer and moved $7$ more I'd end up with a value more than $50$. For example $2,4,6,8,10,12,14,16$ would have a sum of $72$ not $50$,
Smallest sum is $$2+2+4+4+6+6+8+8=40\\$$ Since you need one element to be the largest rest should be the smallest so we change the biggest element $8$ to $18$(since everything else is the smallest) which than is $$2+2+4+4+6+6+8+18$$