There were 87 apples in a basket. The apples were shared equally among 29 children. How many apples did each child get?