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