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