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