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