Maximum of a set of values from given mean and median The arithmetic mean and median of $5$ distinct natural numbers are both $7$,what may be the maximum of the $5$ numbers?
Here we see that the median is the $3rd$ value.Also the sum of the numbers is $35$.
Can we get any idea about the maximum value from this?
 A: This is quite straightforward.
Start with any five different natural numbers* with the required properties (median and mean both 7) and then see how you can change them without changing the mean or the median. 
* As Adrian notes and as discussed at the link above, whether the natural numbers includes 0 depends on who you're talking to; you will need to check which definition you're expected to use (or to do it for both cases -- once you've done it for one definition, the other is simple)
Manipulating the set of numbers while keeping the mean and median unchanged is easiest if you have the five starting numbers in sorted order.
It's trivial to keep both mean and the median the same as you change some of the numbers; in each case any change you make must leave something unchanged (you note a connection between the mean and the sum - keep that connection mind to figure out what has to stay unchanged as you change numbers). 
Once you see what that thing is in each case (one for the median and for the mean), it's a simple matter to change everything else as far as it is possible to do which will increase the largest number, and finally to confirm that no further changes can be made without breaking at least one of the conditions.
You may like to get things rolling by thinking about how small the smallest number can be (why as small as can be? ... think about that, too)

Since it's been up more than a day I can perhaps add a little more information. If the OP posts some additional thoughts I may go further.
Clearly the two invariants to play with are that $\sum_i x_i = 35$ (which makes the mean correct) and that $x_{(3)}=7$ (the median is then correct). So whatever you do must satisfy those points.
Imagine we start with the numbers $(4,5,7,9,10)$ for $(x_{(1)}, ...,x_{(5)})$.
This satisfies both conditions. 
Now we would like to make $x_{(5)}$ larger but must keep the sum at $35$. Which other numbers can be moved? Which direction should they go? How far can they go?
