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