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