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