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