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