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