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