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