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