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