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