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