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