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