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