There are 6 baskets on the table. Each basket has 7, 8, 12, 20, 5 and 17 apples. Emma chose second, Matt chose fourth, Olivia chose fifth, Liam chose sixth, John chose third, and Sean chose first. Who chose the basket with the least apples?