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