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