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