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