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