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