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