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