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