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