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