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