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