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