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