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