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