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