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