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