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