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