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