One litre of water from an underground reservoir in tirupathi town in Andhra Pradesh showed the following analysis for its contents. Mg (HCO3)2= 42 Mg, Ca(HCO3)2= 146 Mg, CaCl2= 71 Mg, NaOH= 40 Mg, MgSO4=48 Mg,organic impurities=100 Mg, Calculate temporary, permanent and total hardness?