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