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