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