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