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