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