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