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