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