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