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