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