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