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