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