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