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