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