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