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