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