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