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