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