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