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