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