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