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