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