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