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