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