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