4. A machine depreciates by 40% in the first year, by 25% in the second year and by 10% per annum for the next three years. Each percentage being calculated on the diminishing value, what is the average percentage of depreciation for the entire period?