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