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