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