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