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