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