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