For field day, Mrs. Douglas puts students into teams. There are 48 boys and 64 girls. Each team must have the same number of boys and the same number of girls. All students must participate. What is the greatest number of teams Mrs. Douglas can create?