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