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