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