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