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