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