Jobi is taking his children on a long drive. Jobi is making snack bags to take on the drive using 40 granola bars and 32 apples. Each bag will contain the same number of granola bars and apples. What is the largest number of snack bags Jobi can make?