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