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