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