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