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