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