Jane and her friends are going on a hiking trip. Jane wants to make snack packs to take on the trip. She has 12 apples and 18 small bags of trail mix. Each snack pack must have the same number of apples and the same number of bags of trail mix.