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