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