If a symbol of smaller value is written between the symbols of greater value, then its value is subtracted from the symbol of the greater value which is written immediately after the symbol of the smaller value.
Therefore, XIV is 10 + (5 - 1) i.e. 14.