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