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