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