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