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