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