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