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