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