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