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