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