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