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