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