There are 27 girls and 36 boys who want to participate in a math competition. If each team must have the same ratio of girls and boys what’s the greatest number of teams that can enter?