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