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