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