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