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