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