There are 87 mangoes in 17 baskets. Find the number of mangoes remaining after all of them have been put into baskets in equal numbers.