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