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