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