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