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