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