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