Ms. Josey, the school librarian, ask Nicole to buy 38 muffins for the school library night. She also has to buy 13 muffins and 12 donuts for her homeroom class. How many total muffins does she needs to buy?