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