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