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