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