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