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