Margaret is inviting 3 friends to a party and each friend will get 8 cookies. how many cookies does Margaret need to get