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