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