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