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