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