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