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