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