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