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