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