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