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