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