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