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