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