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