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