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