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