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