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