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