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