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