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