Five friends decided to get together to bake cookies for a fundraiser. In total, they baked 144 cookies and packaged them in dozens. How many packages of cookies did they bake?