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