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