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