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