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