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