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