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