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