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