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