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