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