Mr. Jones gave 40% percent of the money he had, to his wife. He also gave 20% of the remaining amount to each of his three sons. Half of the amount now left was spent on miscellaneous items and the remaining amount of Rs. 12,000 was deposited in the bank. How much money did Mr. Jones have initially?