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