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