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