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