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