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