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