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