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