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