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