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