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