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