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