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