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