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