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