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