Erin made cookies in the shape of animals. Out of the 40 cookies she made, 16 of them were shaped like a giraffe. What percent of the cookies were shaped like giraffes?