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