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