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