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