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