One gram of CaCO3 was dissolved in dil. HCl and the solution was diluted to 1 litre. 50 mL of this solution required 45 mL of EDTA solution while 50 mL of hard water sample required 18 mL of EDTA solution. On the other hand, 50 mL of the boiled sample of hard water when titrated against EDTA consumed 9 mL of the solution. Calculate permanent, temporary and total hardness in term of CaCO3 equivalents.