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