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