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