Kerri's father bill was a baker. Out of his usual morning batch of cookies bill burned the first 2 dozen cookies. He gave half of what was left to Keri to take to scol. He wrapped up half of the remaining cookies and have them to a group of fireman. He gave half of what was left to the policeman. If bill had only 7 cookies left, how many cookies were in the original batch?