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