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