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