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