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