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