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