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