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