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