Mr Hari spends 66% of his salary on his family. 20% of the remaining he gives to a trust for charity and is left with Rs12240. What is the total salary of Mr Hari and how much amount does he give to the trust?