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