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