There are 6 baskets on the table. Each basket has 2, 3, 8, 4, 17 and 12 apples. Emma chose second, Matt chose third, John chose fifth, Olivia chose first, Sean chose sixth, and Liam chose fourth. How many apples did Liam and Sean choose in total?