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