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