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