A person buys a refrigerator for rupees 12000. He pays rupees 6000 in cash and agrees to pay the balance in 12 annual instalments of rupees 500 each. If the rate of interest is 12% and he pays it with instalments on the unpaid amount,
how much did the refrigerator cost him