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