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