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