Write the following as algebraic expressions: After a teacher handed out m packs of notebooks with c notebooks in each pack, he has 13 notebooks left. How many notebooks did he have originally?