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