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