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