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