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