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