Doug split a pack of cards so that he and his friends each got 6 cards. If there were 24 cards in the pack, how many friends did Doug share his cards with ?

Answer is not 4.