During a Brazilian Day celebration, dancers perform in groups to honor Brazil's independence. There are 56 dancers wearing green outfits and 42 dancers wearing yellow outfits. Each group of dancers has the same number of dancers wearing green and the same number of dancers wearing yellow. All of the dancers are in a group. What is the greatest number of groups that can be formed?​