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