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