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