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