There are 5 numbers such that their mean is equal to their median. If 4 of the numbers are 14,8,16 and 14, what is the 5th number?