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