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