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