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