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