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