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