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