on a shopping trip gill spends 1/3rd of his money in store A then he spends 1/3 of money he has left in store B. Finally he spends his remaining $12 in store C. How many dollars did he have at the start?