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