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