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