Brent is making a wooden display case for his baseball collection. He has 54 balls from American League games and 42 balls from National League games. He wants to display the same number of baseballs in each row and does not want to put American League baseballs in the same row as National League baseballs. How many rows will Brent need in the display case to put the greatest number of baseballs possible in each row?