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