Cindy has 20 marbles and 25 jacks that she wants to group into packages. Each package will have the same number of marbles and each package will have the same number of jacks. What will be the greatest number of packages Cindy can make if she uses all of the marbles and jacks?