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