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