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