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