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