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