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