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