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