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