Allen and Betty are two students in a class of 40 math students. Each of the 40 students are a different height. They stand in a rectangular formation with 8 columns and 5 rows.
For each column, the name of the tallest student is written down. Among these 8 names, Allen is the shortest.
For each row, the name of the shortest student is written down. Among these 5 names, Betty is the tallest.
Who is taller: Allen or Betty?