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