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