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