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