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