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