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