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