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