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