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