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