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