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