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