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