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