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