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