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