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