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