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