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