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