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