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