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