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