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