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