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