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