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