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