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