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