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