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