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