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