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