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