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