Tammy is creating potpourri bowls using 40 bags of shredded bark and 20 bags of flower petals. If she wants to make all the potpourri bowls identical, containing the same number of bags of shredded bark and the same number of bags of flower petals, what is the greatest number of potpourri bowls Tammy can create?