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