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