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