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