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