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