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