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