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