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