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