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