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