Tim has
39
3939 pairs of headphones and
13
1313 music players. Tim wants to sell all of the headphones and music players in identical packages.
What is the greatest number of packages Tim can make?