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