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