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