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