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