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