College Alisha is putting cheese cubes and crackers onto small plates. She has 24 cubes of cheese and 40 crackers. She want both cheese and crackers on each plate and each plate must have the same number of cheese cubes and the same number of crackers. What is the greatest number of plates she can make using all the cheese and crackers.