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