Joe has 0.4 of a black forest cake, which is 14 slices of the cake,left. How many slices of cake were there originally?