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