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