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