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