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