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