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