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