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