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