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