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