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