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