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