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