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