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