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