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