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