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