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