A grocer buys some eggs at Tk. 3 each. He finds that 12 of them are broken, but he sells the others at Tk. 4 each and makes profit of Tk. 96. How many eggs did he buy?