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