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