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