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