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