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