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