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