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