Mike bakes 24 cookies for some friends. He gives the same number of cookies to 2 friends. How many cookies c does each friend receive? Write an equation to represent the number of cookies each friend receives.​