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$,