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