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