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