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