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